box-office-mojo-movie
v0.1.3
Published
Get the data of a Box Office Mojo's movie
Downloads
5
Maintainers
Readme
box-office-mojo-movie
Get the data of a Box Office Mojo's movie
Install
npm install --save box-office-mojo-movie
Usage
var boxOfficeMojoMovie = require('box-office-mojo-movie');
boxOfficeMojoMovie('pulpfiction.htm'); // { title: 'Pulp Fiction', domesticGross: 107928762 }
API
boxOfficeMojoMovie(movieID)
Returns a promise that will resolve to an object with the data of the Box Office Mojo's movie.
movieID
Type: string
The ID of a movie as presented in Box Office Mojo.
Example: The ID for Pulp Fiction would be pulpfiction.htm
.
License
MIT © Alejandro Beltrán