Skip to content

alebelcor/box-office-mojo-movie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

box-office-mojo-movie

Get the data of a Box Office Mojo's movie

npm version Build Status Test Coverage

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

About

🎥 Get the data of a Box Office Mojo's movie

Resources

Stars

Watchers

Forks

Packages

No packages published