# box-office-mojo-movie

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

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

## Install

```sh
npm install box-office-mojo-movie
pnpm add box-office-mojo-movie
yarn add box-office-mojo-movie
bun add box-office-mojo-movie
```

## 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 | 2015-09-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Alejandro Beltrán |
| Maintainers | alebelcor |
| Keywords | box office mojo, movies, movie title, movie gross |

## Links

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

## Dependencies (3)

- [got](https://npm.io/package/got.md) ^5.0.0
- [box-office-mojo-movie-gross](https://npm.io/package/box-office-mojo-movie-gross.md) ^0.3.3
- [box-office-mojo-movie-title](https://npm.io/package/box-office-mojo-movie-title.md) ^0.3.5

## Recent versions

- 0.1.3 (latest) — 2015-10-31
- 0.1.2 — 2015-09-24
- 0.1.1 — 2015-09-24
- 0.1.0 — 2015-09-22

## README

# box-office-mojo-movie

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

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

## Install

```bash
npm install --save box-office-mojo-movie
```

## Usage

```js
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](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/box-office-mojo-movie · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
