2.0.1 • Published 3 years ago

imdb-id v2.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

imdb-id

Get IMDB ID from Movie Title

Installation:

Current stable release: 2.x

yarn: yarn add imdb-id
npm: npm install --save imdb-id

Loading the module:

const imdbId = require('../index.js');

Usage:

The function takes a movie title as parameter:

await imdbId("H2G2")

Example:

const imdbId = require('../index.js');

(async () =>  {
  const movieTitle = 'H2G2'
  try {
    const id = await imdbId(movieTitle);
    console.log(`The IMDB Id of ${movieTitle} is ${id}`)
  } catch (e) {
    console.error('Error :', e)
  }
})();
2.0.1

3 years ago

2.0.0

3 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago