# movie-draft

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

Latest version **0.1.3** (published 2015-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install movie-draft
pnpm add movie-draft
yarn add movie-draft
bun add movie-draft
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-10-31 |
| First published | 2013-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alejandro Beltrán |
| Maintainers | alebelcor |
| Keywords | box office mojo, movies, movie, movie title, movie gross |

## Links

- npm: https://www.npmjs.com/package/movie-draft
- Repository: https://github.com/alebelcor/movie-draft
- Homepage: https://github.com/alebelcor/movie-draft#readme
- Issues: https://github.com/alebelcor/movie-draft/issues
- npm.io page: https://npm.io/package/movie-draft

## Dependencies (2)

- [pinkie-promise](https://npm.io/package/pinkie-promise.md) ^1.0.0
- [box-office-mojo-movie](https://npm.io/package/box-office-mojo-movie.md) ^0.1.3

## Recent versions

- 0.1.3 (latest) — 2015-10-31
- 0.1.2 — 2015-10-30
- 0.1.1 — 2015-10-09
- 0.1.0 — 2015-09-24
- 0.0.1 — 2013-11-18

## README

# movie-draft

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

[![npm version](https://img.shields.io/npm/v/movie-draft.svg)](https://npmjs.org/package/movie-draft)
[![Build Status](https://travis-ci.org/alebelcor/movie-draft.svg)](https://travis-ci.org/alebelcor/movie-draft)
[![Test Coverage](https://img.shields.io/coveralls/alebelcor/movie-draft/master.svg)](https://coveralls.io/github/alebelcor/movie-draft)

## Install

```bash
npm install --save movie-draft
```

## Usage

```js
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](http://www.boxofficemojo.com/).

Example: The ID for [Pulp Fiction](http://www.boxofficemojo.com/movies/?id=pulpfiction.htm) would be `pulpfiction.htm`.

## License

MIT © Alejandro Beltrán

---
_Source: https://npm.io/package/movie-draft · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
