1.0.0 • Published 3 years ago

@lenivene/imdb-js v1.0.0

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

📔 Indíce

📖 Sobre

O Imdb.js é um modulo que faz scraper no site imdb e retorna informaçãos do filme

📚 Como usar?

import ImdbJs from "@lenivene/imdb-js";

const imdb = new ImdbJs();

imdb.movie('tt0993846').then(cnpj => {
  /**
   * Example result
   * @return {
   *   id: 'tt0993846',
   *   poster: 'https://..........kFtZTgwNjIyOTg2MDE@._V1_.jpg',
   *   name: 'The Wolf of Wall Street',
   *   year: 2013,
   *   release: 2013-12-25T00:00:00.000Z,
   *   rating: 8.2,
   *   metascore: 75,
   *   certificate: 'R',
   *   description: 'The Wolf of W.........',
   *   storyline: `In th.......`,
   *   genres: [ 'Biography', 'Crime', 'Drama' ],
   *   directors: [ 'Martin Scorsese' ],
   *   creators: [
   *     'Terence Winter',
   *     'Jordan Belfort',
   *     'Red Granite Pictures',
   *     'Appian Way',
   *     'Sikelia Productions'
   *   ]
   * }
  */
  console.log("Result::", result);
})
.catch(error => {
  console.log(error);
})

📝 License

The logo is fully licensed by its creator. This project is under the MIT license.

1.0.0

3 years ago

1.0.1

3 years ago