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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    4
  • 0.1.2
    1
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i movie-draft

Weekly Downloads

7

Version

0.1.3

License

MIT

Last publish

Collaborators

  • alebelcor