box-office-mojo-movie

0.1.3 • Public • Published

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

Package Sidebar

Install

npm i box-office-mojo-movie

Weekly Downloads

5

Version

0.1.3

License

MIT

Last publish

Collaborators

  • alebelcor