Changelog
Version 3.0.0 -> 3.1.0
This adds searching for movies and items from omdb.
imdb.search({title: 'foo'}, {apiKey: 'bar'}).then(console.log);
This also adds supports for timeouts
imdb.get('The Toxic Avenger', {apiKey: 'foo', timeout: 30}).then(console.log);
Changelog
Version 3.0.0 -> 3.1.0
This adds searching for movies and items from omdb.
imdb.search({title: 'foo'}, {apiKey: 'bar'}).then(console.log);
This also adds supports for timeouts
imdb.get('The Toxic Avenger', {apiKey: 'foo', timeout: 30}).then(console.log);
Changelog
Version 2.2.2 -> 3.0.0
This is a breaking change
get
functionsimdb.get('The Toxic Avenger', {apiKey: 'foo'}).then(function(data) { console.log(data); });
To see more about getting a key, see here
Changelog
Version 2.1.0 -> 2.2.0
imdb.get('The Toxic Avenger').then(function(data) { console.log(data); });
Changelog
Version 2.0.0 -> 2.1.0
imdb.getReq({name: 'James Bond', year: 2015}, function(err, data) { console.log(data) });
Changelog
Version 1.3.3 -> 2.0.0
Version 2.0 is a breaking change. The APIs that I was using disappeared, and I switched over to using omdb. Most of the functions and the objects returned are similar, with some additional properties (and some removed).
The following properties have been removed from all movie/tv show/episode objects that are returned to callbacks.
stv
usascreens
ukscreens
The following properties have been renamed in order to not conflict with builtins or to better describe what the property means
Episode.number
-> Episode.episode
Some properties have new types for convenience.
Episode.released
: string
-> Date
Movie.released
: string
-> Date
Movie.series
: number
-> boolean
episodes
call now just passes a list of episodes to the callback