movie-draft
v0.1.3
Published
Get the data of a list of Box Office Mojo's movies
Downloads
8
Maintainers
Readme
movie-draft
Get the data of a list of Box Office Mojo's movies.
Install
npm install --save movie-draft
Usage
var movieDraft = require('movie-draft');
movieDraft(['pulpfiction.htm']); // [ { title: 'Pulp Fiction', domesticGross: 107928762 } ]
API
movieDraft(movieIds)
Returns a promise that resolves to an array of objects with the data of the Box Office Mojo's movie.
movieIds
Type: array
of strings
An array of one or more IDs of movies as presented in Box Office Mojo.
Example: The ID for Pulp Fiction would be pulpfiction.htm
.
License
MIT © Alejandro Beltrán