# imdb-score

> This is a small tool to get IMDB socre

Latest version **2.1.3** (published 2021-06-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install imdb-score
pnpm add imdb-score
yarn add imdb-score
bun add imdb-score
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.3 |
| Published | 2021-06-07 |
| First published | 2021-04-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Jiwen Young |
| Maintainers | youngjiwen |

## Links

- npm: https://www.npmjs.com/package/imdb-score
- npm.io page: https://npm.io/package/imdb-score

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [cheerio](https://npm.io/package/cheerio.md) *

## Recent versions

- 2.1.3 (latest) — 2021-06-07
- 2.1.2 — 2021-06-03
- 2.1.1 — 2021-05-25
- 2.1.0 — 2021-05-25
- 2.0.0 — 2021-05-25
- 1.0.6 — 2021-04-06
- 1.0.5 — 2021-04-06
- 1.0.4 — 2021-04-06
- 1.0.3 — 2021-04-06
- 1.0.2 — 2021-04-05
- 1.0.1 — 2021-04-05
- 1.0.0 — 2021-04-05

## README

# IMDB SCORE

This is a small tool to get the IMDB score by IMDB ID.

## Example

```javascript
const IMDB = require('imdb-score')

const main = async () => {
    // Default, Grab score from webpage
    const scores = await IMDB.init("tt5491994").score()

    // OMDB API, if fail, fall back to grab score from webpage
    const scores = await IMDB.init("tt5491994").omdbKey("Your Key").score()

    // Retry request for 5 times
    // Default to 3 if you don't call retry method
    const scores = await IMDB.init("tt5491994").retry(5).score()
}
main()
```

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