node-movie
Get movie data easily from imdb
Install
$ npm i --save node-movie
Usage
// get movie by titleconst movie = ;; // get movie by imdbIDconst movie = getByID;;// Output:// {// "Title":"Fury",// "Year":"2014",// "Rated":"R",// "Released":"17 Oct 2014",// "Runtime":"134 min",// "Genre":"Action, Drama, War",// "Director":"David Ayer",// "Writer":"David Ayer",// "Actors":"Brad Pitt, Shia LaBeouf, Logan Lerman, Michael Peña",// "Plot":"April, 1945. As the Allies make their final push in the European Theatre..",// "Language":"English, German",// "Country":"UK, China, USA",// "Awards":"4 wins & 9 nominations.",// "Poster":"http://ia.media-imdb.com/images/M/MV5BMjA4MDU0NTUyN15BMl5BanBnXkFtZTgwMzQxMzY4MjE@._V1_SX300.jpg",// "Metascore":"64",// "imdbRating":"7.9",// "imdbVotes":"89,030",// "imdbID":"tt2713180",// "Type":"movie",// "Response":"True"// } // Returns object with error key when failedconst movie = getByID;; // Output: { Response: 'False', Error: 'Incorrect IMDb ID.' }
Credit
This module is developed using OMDb.
License
MIT © Mert Kahyaoğlu 2015