2.1.3 • Published 3 years ago

imdb-score v2.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

IMDB SCORE

This is a small tool to get the IMDB score by IMDB ID.

Example

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()
2.1.2

3 years ago

2.1.3

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago