filmify

1.0.0 • Public • Published

Filmify

npm version license

A simple library to get information about movies by name.

Instalation

To install this library on your machine, run the following command in your terminal:

npm install filmify --save

How to Use

Here is an example of how to use this library:

const Search = require("filmify");
const film = await Search("Homem Aranha");

console.log(film);

This will return an object with the information of the found movie. Here is an example:

{
  id: '634649',
  title: 'Homem-Aranha: Sem Volta Para Casa',
  original_title: 'Spider-Man: No Way Home',
  font: 'https://www.themoviedb.org/',
  full_url: 'https://www.themoviedb.org/movie/634649',
  thumb: 'https://www.themoviedb.org/t/p/w300_and_h450_bestv2_filter(blur)/fVzXp3NwovUlLe7fvoRynCmBPNc.jpg',
  description: 'Peter Parker é desmascarado e não consegue mais separar sua vida normal dos grandes riscos de ser um super-herói. Quando ele pede ajuda ao Doutor Estranho, os riscos se tornam ainda mais perigosos, e o forçam a descobrir o que realmente significa ser o Homem-Aranha...',
  language: 'Inglês',
  release_year: '2021',
  runtime: '2h 29m',
  genres: [ 'Ação', 'Aventura', 'Ficção científica' ],
  keywords: [
    'new york city',
    'loss of loved one',
    'showdown',
    'secret identity',
    'hero',
    'magic',
    'villain',
    'dangerous',
    'vigilante',
    'portal',
    'sequel',
    'superhero',
    'superhero team',
    'alternate reality',
    'masked vigilante',
    'spider web',
    'aftercreditsstinger',
    'duringcreditsstinger',
    'marvel cinematic universe (mcu)',
    'teenage hero',
    'fight for justice',
    'multiverse',
    'superhero teamup',
    'returning hero',
    'crossover',
    'teamwork'
  ],
  content_score: { score: '100', _: 'Fantástico! Ficou ótimo!' },
  situation: 'Lançado',
  budget: '$200,000,000.00'
}

Notice: If it was not possible to find any results for the specific movie, an empty object will be returned.

Contribute

Feel free to contribute to this library via pull requests or issues in the GitHub repository.

Package Sidebar

Install

npm i filmify

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

16.9 kB

Total Files

4

Last publish

Collaborators

  • emptyy