movie-draft

0.1.3 • Public • Published

movie-draft

Get the data of a list of Box Office Mojo's movies.

npm version Build Status Test Coverage

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

Package Sidebar

Install

npm i movie-draft

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • alebelcor