Skip to content

lenivene/imdb-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Imdb.js

Consulta de informações no IMDB

📔 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.

About

Get IMDB data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published