Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imdb-api

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imdb-api - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

test.js

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# Version 3.1.1 -> 3.1.2
* Fixes #54
* Fixes #51
* lots of modernization and enabling of tslint
# Version 3.0.0 -> 3.1.0

@@ -2,0 +8,0 @@

2

doc/assets/js/search.js
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"util\"","url":"modules/_util_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"StringHashMap","url":"interfaces/_util_.stringhashmap.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"util\""},{"id":2,"kind":128,"name":"Inverter","url":"classes/_util_.inverter.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"util\""},{"id":3,"kind":1024,"name":"obj","url":"classes/_util_.inverter.html#obj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"util\".Inverter"},{"id":4,"kind":1024,"name":"rev_obj","url":"classes/_util_.inverter.html#rev_obj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"util\".Inverter"},{"id":5,"kind":512,"name":"constructor","url":"classes/_util_.inverter.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"util\".Inverter"},{"id":6,"kind":2048,"name":"get","url":"classes/_util_.inverter.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"util\".Inverter"},{"id":7,"kind":1,"name":"\"interfaces\"","url":"modules/_interfaces_.html","classes":"tsd-kind-external-module"},{"id":8,"kind":256,"name":"OmdbMovie","url":"interfaces/_interfaces_.omdbmovie.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":9,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbmovie.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":10,"kind":1024,"name":"Year","url":"interfaces/_interfaces_.omdbmovie.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":11,"kind":1024,"name":"Rated","url":"interfaces/_interfaces_.omdbmovie.html#rated","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":12,"kind":1024,"name":"Released","url":"interfaces/_interfaces_.omdbmovie.html#released","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":13,"kind":1024,"name":"Runtime","url":"interfaces/_interfaces_.omdbmovie.html#runtime","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":14,"kind":1024,"name":"Genre","url":"interfaces/_interfaces_.omdbmovie.html#genre","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":15,"kind":1024,"name":"Director","url":"interfaces/_interfaces_.omdbmovie.html#director","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":16,"kind":1024,"name":"Writer","url":"interfaces/_interfaces_.omdbmovie.html#writer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":17,"kind":1024,"name":"Actors","url":"interfaces/_interfaces_.omdbmovie.html#actors","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":18,"kind":1024,"name":"Plot","url":"interfaces/_interfaces_.omdbmovie.html#plot","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":19,"kind":1024,"name":"Language","url":"interfaces/_interfaces_.omdbmovie.html#language","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":20,"kind":1024,"name":"Country","url":"interfaces/_interfaces_.omdbmovie.html#country","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":21,"kind":1024,"name":"Awards","url":"interfaces/_interfaces_.omdbmovie.html#awards","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":22,"kind":1024,"name":"Poster","url":"interfaces/_interfaces_.omdbmovie.html#poster","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":23,"kind":1024,"name":"Metascore","url":"interfaces/_interfaces_.omdbmovie.html#metascore","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":24,"kind":1024,"name":"imdbRating","url":"interfaces/_interfaces_.omdbmovie.html#imdbrating","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":25,"kind":1024,"name":"imdbVotes","url":"interfaces/_interfaces_.omdbmovie.html#imdbvotes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":26,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbmovie.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":27,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbmovie.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":28,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbmovie.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":29,"kind":256,"name":"OmdbTvshow","url":"interfaces/_interfaces_.omdbtvshow.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":30,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbtvshow.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":31,"kind":1024,"name":"Year","url":"interfaces/_interfaces_.omdbtvshow.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":32,"kind":1024,"name":"Rated","url":"interfaces/_interfaces_.omdbtvshow.html#rated","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":33,"kind":1024,"name":"Released","url":"interfaces/_interfaces_.omdbtvshow.html#released","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":34,"kind":1024,"name":"Runtime","url":"interfaces/_interfaces_.omdbtvshow.html#runtime","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":35,"kind":1024,"name":"Genre","url":"interfaces/_interfaces_.omdbtvshow.html#genre","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":36,"kind":1024,"name":"Director","url":"interfaces/_interfaces_.omdbtvshow.html#director","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":37,"kind":1024,"name":"Writer","url":"interfaces/_interfaces_.omdbtvshow.html#writer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":38,"kind":1024,"name":"Actors","url":"interfaces/_interfaces_.omdbtvshow.html#actors","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":39,"kind":1024,"name":"Plot","url":"interfaces/_interfaces_.omdbtvshow.html#plot","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":40,"kind":1024,"name":"Language","url":"interfaces/_interfaces_.omdbtvshow.html#language","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":41,"kind":1024,"name":"Country","url":"interfaces/_interfaces_.omdbtvshow.html#country","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":42,"kind":1024,"name":"Awards","url":"interfaces/_interfaces_.omdbtvshow.html#awards","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":43,"kind":1024,"name":"Poster","url":"interfaces/_interfaces_.omdbtvshow.html#poster","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":44,"kind":1024,"name":"Metascore","url":"interfaces/_interfaces_.omdbtvshow.html#metascore","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":45,"kind":1024,"name":"imdbRating","url":"interfaces/_interfaces_.omdbtvshow.html#imdbrating","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":46,"kind":1024,"name":"imdbVotes","url":"interfaces/_interfaces_.omdbtvshow.html#imdbvotes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":47,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbtvshow.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":48,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbtvshow.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":49,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbtvshow.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":50,"kind":1024,"name":"totalSeasons","url":"interfaces/_interfaces_.omdbtvshow.html#totalseasons","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":51,"kind":256,"name":"OmdbEpisode","url":"interfaces/_interfaces_.omdbepisode.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":52,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbepisode.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":53,"kind":1024,"name":"Released","url":"interfaces/_interfaces_.omdbepisode.html#released","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":54,"kind":1024,"name":"Episode","url":"interfaces/_interfaces_.omdbepisode.html#episode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":55,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbepisode.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":56,"kind":1024,"name":"imdbRating","url":"interfaces/_interfaces_.omdbepisode.html#imdbrating","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":57,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbepisode.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":58,"kind":256,"name":"OmdbSeason","url":"interfaces/_interfaces_.omdbseason.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":59,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbseason.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":60,"kind":1024,"name":"Season","url":"interfaces/_interfaces_.omdbseason.html#season","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":61,"kind":1024,"name":"totalEpisodes","url":"interfaces/_interfaces_.omdbseason.html#totalepisodes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":62,"kind":1024,"name":"Episodes","url":"interfaces/_interfaces_.omdbseason.html#episodes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":63,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbseason.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":64,"kind":256,"name":"OmdbSearchResult","url":"interfaces/_interfaces_.omdbsearchresult.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":65,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbsearchresult.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":66,"kind":1024,"name":"Year","url":"interfaces/_interfaces_.omdbsearchresult.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":67,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbsearchresult.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":68,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbsearchresult.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":69,"kind":1024,"name":"Poster","url":"interfaces/_interfaces_.omdbsearchresult.html#poster","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":70,"kind":256,"name":"OmdbSearch","url":"interfaces/_interfaces_.omdbsearch.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":71,"kind":1024,"name":"Search","url":"interfaces/_interfaces_.omdbsearch.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearch"},{"id":72,"kind":1024,"name":"totalResults","url":"interfaces/_interfaces_.omdbsearch.html#totalresults","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearch"},{"id":73,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbsearch.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearch"},{"id":74,"kind":256,"name":"OmdbError","url":"interfaces/_interfaces_.omdberror.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":75,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdberror.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbError"},{"id":76,"kind":1024,"name":"Error","url":"interfaces/_interfaces_.omdberror.html#error","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbError"},{"id":77,"kind":64,"name":"isError","url":"modules/_interfaces_.html#iserror","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":78,"kind":64,"name":"isTvshow","url":"modules/_interfaces_.html#istvshow","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":79,"kind":64,"name":"isMovie","url":"modules/_interfaces_.html#ismovie","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":80,"kind":64,"name":"isEpisode","url":"modules/_interfaces_.html#isepisode","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":81,"kind":1,"name":"\"imdb\"","url":"modules/_imdb_.html","classes":"tsd-kind-external-module"},{"id":82,"kind":256,"name":"MovieOpts","url":"interfaces/_imdb_.movieopts.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":83,"kind":1024,"name":"apiKey","url":"interfaces/_imdb_.movieopts.html#apikey","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieOpts"},{"id":84,"kind":1024,"name":"timeout","url":"interfaces/_imdb_.movieopts.html#timeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieOpts"},{"id":85,"kind":256,"name":"MovieRequest","url":"interfaces/_imdb_.movierequest.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":86,"kind":1024,"name":"name","url":"interfaces/_imdb_.movierequest.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":87,"kind":1024,"name":"id","url":"interfaces/_imdb_.movierequest.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":88,"kind":1024,"name":"year","url":"interfaces/_imdb_.movierequest.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":89,"kind":1024,"name":"opts","url":"interfaces/_imdb_.movierequest.html#opts","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":90,"kind":256,"name":"SearchRequest","url":"interfaces/_imdb_.searchrequest.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":91,"kind":1024,"name":"title","url":"interfaces/_imdb_.searchrequest.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".SearchRequest"},{"id":92,"kind":1024,"name":"reqtype","url":"interfaces/_imdb_.searchrequest.html#reqtype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".SearchRequest"},{"id":93,"kind":1024,"name":"year","url":"interfaces/_imdb_.searchrequest.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".SearchRequest"},{"id":94,"kind":128,"name":"Episode","url":"classes/_imdb_.episode.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":95,"kind":1024,"name":"season","url":"classes/_imdb_.episode.html#season","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":96,"kind":1024,"name":"name","url":"classes/_imdb_.episode.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":97,"kind":1024,"name":"episode","url":"classes/_imdb_.episode.html#episode","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":98,"kind":1024,"name":"released","url":"classes/_imdb_.episode.html#released","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":99,"kind":1024,"name":"imdbid","url":"classes/_imdb_.episode.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":100,"kind":1024,"name":"rating","url":"classes/_imdb_.episode.html#rating","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":101,"kind":512,"name":"constructor","url":"classes/_imdb_.episode.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":102,"kind":128,"name":"Movie","url":"classes/_imdb_.movie.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":103,"kind":1024,"name":"imdbid","url":"classes/_imdb_.movie.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":104,"kind":1024,"name":"imdburl","url":"classes/_imdb_.movie.html#imdburl","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":105,"kind":1024,"name":"genres","url":"classes/_imdb_.movie.html#genres","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":106,"kind":1024,"name":"languages","url":"classes/_imdb_.movie.html#languages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":107,"kind":1024,"name":"country","url":"classes/_imdb_.movie.html#country","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":108,"kind":1024,"name":"votes","url":"classes/_imdb_.movie.html#votes","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":109,"kind":1024,"name":"series","url":"classes/_imdb_.movie.html#series","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":110,"kind":1024,"name":"rating","url":"classes/_imdb_.movie.html#rating","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":111,"kind":1024,"name":"runtime","url":"classes/_imdb_.movie.html#runtime","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":112,"kind":1024,"name":"title","url":"classes/_imdb_.movie.html#title","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":113,"kind":1024,"name":"year","url":"classes/_imdb_.movie.html#year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":114,"kind":1024,"name":"type","url":"classes/_imdb_.movie.html#type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":115,"kind":1024,"name":"poster","url":"classes/_imdb_.movie.html#poster","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":116,"kind":1024,"name":"metascore","url":"classes/_imdb_.movie.html#metascore","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":117,"kind":1024,"name":"plot","url":"classes/_imdb_.movie.html#plot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":118,"kind":1024,"name":"rated","url":"classes/_imdb_.movie.html#rated","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":119,"kind":1024,"name":"director","url":"classes/_imdb_.movie.html#director","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":120,"kind":1024,"name":"writer","url":"classes/_imdb_.movie.html#writer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":121,"kind":1024,"name":"actors","url":"classes/_imdb_.movie.html#actors","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":122,"kind":1024,"name":"released","url":"classes/_imdb_.movie.html#released","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":123,"kind":1024,"name":"_year_data","url":"classes/_imdb_.movie.html#_year_data","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".Movie"},{"id":124,"kind":512,"name":"constructor","url":"classes/_imdb_.movie.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":125,"kind":128,"name":"TVShow","url":"classes/_imdb_.tvshow.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":126,"kind":1024,"name":"_episodes","url":"classes/_imdb_.tvshow.html#_episodes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".TVShow"},{"id":127,"kind":1024,"name":"opts","url":"classes/_imdb_.tvshow.html#opts","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".TVShow"},{"id":128,"kind":1024,"name":"start_year","url":"classes/_imdb_.tvshow.html#start_year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":129,"kind":1024,"name":"end_year","url":"classes/_imdb_.tvshow.html#end_year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":130,"kind":1024,"name":"totalseasons","url":"classes/_imdb_.tvshow.html#totalseasons","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":131,"kind":512,"name":"constructor","url":"classes/_imdb_.tvshow.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"\"imdb\".TVShow"},{"id":132,"kind":2048,"name":"episodes","url":"classes/_imdb_.tvshow.html#episodes","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":133,"kind":1024,"name":"imdbid","url":"classes/_imdb_.tvshow.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":134,"kind":1024,"name":"imdburl","url":"classes/_imdb_.tvshow.html#imdburl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":135,"kind":1024,"name":"genres","url":"classes/_imdb_.tvshow.html#genres","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":136,"kind":1024,"name":"languages","url":"classes/_imdb_.tvshow.html#languages","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":137,"kind":1024,"name":"country","url":"classes/_imdb_.tvshow.html#country","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":138,"kind":1024,"name":"votes","url":"classes/_imdb_.tvshow.html#votes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":139,"kind":1024,"name":"series","url":"classes/_imdb_.tvshow.html#series","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":140,"kind":1024,"name":"rating","url":"classes/_imdb_.tvshow.html#rating","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":141,"kind":1024,"name":"runtime","url":"classes/_imdb_.tvshow.html#runtime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":142,"kind":1024,"name":"title","url":"classes/_imdb_.tvshow.html#title","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":143,"kind":1024,"name":"year","url":"classes/_imdb_.tvshow.html#year","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":144,"kind":1024,"name":"type","url":"classes/_imdb_.tvshow.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":145,"kind":1024,"name":"poster","url":"classes/_imdb_.tvshow.html#poster","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":146,"kind":1024,"name":"metascore","url":"classes/_imdb_.tvshow.html#metascore","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":147,"kind":1024,"name":"plot","url":"classes/_imdb_.tvshow.html#plot","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":148,"kind":1024,"name":"rated","url":"classes/_imdb_.tvshow.html#rated","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":149,"kind":1024,"name":"director","url":"classes/_imdb_.tvshow.html#director","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":150,"kind":1024,"name":"writer","url":"classes/_imdb_.tvshow.html#writer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":151,"kind":1024,"name":"actors","url":"classes/_imdb_.tvshow.html#actors","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":152,"kind":1024,"name":"released","url":"classes/_imdb_.tvshow.html#released","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":153,"kind":128,"name":"SearchResult","url":"classes/_imdb_.searchresult.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":154,"kind":1024,"name":"title","url":"classes/_imdb_.searchresult.html#title","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":155,"kind":1024,"name":"year","url":"classes/_imdb_.searchresult.html#year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":156,"kind":1024,"name":"imdbid","url":"classes/_imdb_.searchresult.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":157,"kind":1024,"name":"type","url":"classes/_imdb_.searchresult.html#type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":158,"kind":1024,"name":"poster","url":"classes/_imdb_.searchresult.html#poster","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":159,"kind":512,"name":"constructor","url":"classes/_imdb_.searchresult.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":160,"kind":128,"name":"SearchResults","url":"classes/_imdb_.searchresults.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":161,"kind":1024,"name":"results","url":"classes/_imdb_.searchresults.html#results","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":162,"kind":1024,"name":"totalresults","url":"classes/_imdb_.searchresults.html#totalresults","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":163,"kind":1024,"name":"page","url":"classes/_imdb_.searchresults.html#page","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".SearchResults"},{"id":164,"kind":1024,"name":"opts","url":"classes/_imdb_.searchresults.html#opts","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".SearchResults"},{"id":165,"kind":1024,"name":"req","url":"classes/_imdb_.searchresults.html#req","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".SearchResults"},{"id":166,"kind":512,"name":"constructor","url":"classes/_imdb_.searchresults.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":167,"kind":2048,"name":"next","url":"classes/_imdb_.searchresults.html#next","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":168,"kind":128,"name":"ImdbError","url":"classes/_imdb_.imdberror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":169,"kind":1024,"name":"name","url":"classes/_imdb_.imdberror.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".ImdbError"},{"id":170,"kind":512,"name":"constructor","url":"classes/_imdb_.imdberror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".ImdbError"},{"id":171,"kind":1024,"name":"message","url":"classes/_imdb_.imdberror.html#message","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".ImdbError"},{"id":172,"kind":32,"name":"Promise","url":"modules/_imdb_.html#promise","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":173,"kind":32,"name":"omdbapi","url":"modules/_imdb_.html#omdbapi","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":174,"kind":4194304,"name":"RequestType","url":"modules/_imdb_.html#requesttype","classes":"tsd-kind-type-alias tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":175,"kind":64,"name":"reqtoqueryobj","url":"modules/_imdb_.html#reqtoqueryobj","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":176,"kind":32,"name":"trans_table","url":"modules/_imdb_.html#trans_table","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":177,"kind":64,"name":"getReq","url":"modules/_imdb_.html#getreq","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":178,"kind":64,"name":"get","url":"modules/_imdb_.html#get","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":179,"kind":64,"name":"getById","url":"modules/_imdb_.html#getbyid","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":180,"kind":64,"name":"search","url":"modules/_imdb_.html#search","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""}]};
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"util\"","url":"modules/_util_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"StringHashMap","url":"interfaces/_util_.stringhashmap.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"util\""},{"id":2,"kind":128,"name":"Inverter","url":"classes/_util_.inverter.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"util\""},{"id":3,"kind":1024,"name":"obj","url":"classes/_util_.inverter.html#obj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"util\".Inverter"},{"id":4,"kind":1024,"name":"rev_obj","url":"classes/_util_.inverter.html#rev_obj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"util\".Inverter"},{"id":5,"kind":512,"name":"constructor","url":"classes/_util_.inverter.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"util\".Inverter"},{"id":6,"kind":2048,"name":"get","url":"classes/_util_.inverter.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"util\".Inverter"},{"id":7,"kind":1,"name":"\"interfaces\"","url":"modules/_interfaces_.html","classes":"tsd-kind-external-module"},{"id":8,"kind":256,"name":"OmdbMovie","url":"interfaces/_interfaces_.omdbmovie.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":9,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbmovie.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":10,"kind":1024,"name":"Year","url":"interfaces/_interfaces_.omdbmovie.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":11,"kind":1024,"name":"Rated","url":"interfaces/_interfaces_.omdbmovie.html#rated","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":12,"kind":1024,"name":"Released","url":"interfaces/_interfaces_.omdbmovie.html#released","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":13,"kind":1024,"name":"Runtime","url":"interfaces/_interfaces_.omdbmovie.html#runtime","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":14,"kind":1024,"name":"Genre","url":"interfaces/_interfaces_.omdbmovie.html#genre","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":15,"kind":1024,"name":"Director","url":"interfaces/_interfaces_.omdbmovie.html#director","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":16,"kind":1024,"name":"Writer","url":"interfaces/_interfaces_.omdbmovie.html#writer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":17,"kind":1024,"name":"Actors","url":"interfaces/_interfaces_.omdbmovie.html#actors","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":18,"kind":1024,"name":"Plot","url":"interfaces/_interfaces_.omdbmovie.html#plot","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":19,"kind":1024,"name":"Language","url":"interfaces/_interfaces_.omdbmovie.html#language","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":20,"kind":1024,"name":"Country","url":"interfaces/_interfaces_.omdbmovie.html#country","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":21,"kind":1024,"name":"Awards","url":"interfaces/_interfaces_.omdbmovie.html#awards","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":22,"kind":1024,"name":"Poster","url":"interfaces/_interfaces_.omdbmovie.html#poster","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":23,"kind":1024,"name":"Metascore","url":"interfaces/_interfaces_.omdbmovie.html#metascore","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":24,"kind":1024,"name":"imdbRating","url":"interfaces/_interfaces_.omdbmovie.html#imdbrating","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":25,"kind":1024,"name":"imdbVotes","url":"interfaces/_interfaces_.omdbmovie.html#imdbvotes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":26,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbmovie.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":27,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbmovie.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":28,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbmovie.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbMovie"},{"id":29,"kind":256,"name":"OmdbTvshow","url":"interfaces/_interfaces_.omdbtvshow.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":30,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbtvshow.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":31,"kind":1024,"name":"Year","url":"interfaces/_interfaces_.omdbtvshow.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":32,"kind":1024,"name":"Rated","url":"interfaces/_interfaces_.omdbtvshow.html#rated","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":33,"kind":1024,"name":"Released","url":"interfaces/_interfaces_.omdbtvshow.html#released","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":34,"kind":1024,"name":"Runtime","url":"interfaces/_interfaces_.omdbtvshow.html#runtime","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":35,"kind":1024,"name":"Genre","url":"interfaces/_interfaces_.omdbtvshow.html#genre","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":36,"kind":1024,"name":"Director","url":"interfaces/_interfaces_.omdbtvshow.html#director","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":37,"kind":1024,"name":"Writer","url":"interfaces/_interfaces_.omdbtvshow.html#writer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":38,"kind":1024,"name":"Actors","url":"interfaces/_interfaces_.omdbtvshow.html#actors","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":39,"kind":1024,"name":"Plot","url":"interfaces/_interfaces_.omdbtvshow.html#plot","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":40,"kind":1024,"name":"Language","url":"interfaces/_interfaces_.omdbtvshow.html#language","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":41,"kind":1024,"name":"Country","url":"interfaces/_interfaces_.omdbtvshow.html#country","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":42,"kind":1024,"name":"Awards","url":"interfaces/_interfaces_.omdbtvshow.html#awards","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":43,"kind":1024,"name":"Poster","url":"interfaces/_interfaces_.omdbtvshow.html#poster","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":44,"kind":1024,"name":"Metascore","url":"interfaces/_interfaces_.omdbtvshow.html#metascore","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":45,"kind":1024,"name":"imdbRating","url":"interfaces/_interfaces_.omdbtvshow.html#imdbrating","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":46,"kind":1024,"name":"imdbVotes","url":"interfaces/_interfaces_.omdbtvshow.html#imdbvotes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":47,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbtvshow.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":48,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbtvshow.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":49,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbtvshow.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":50,"kind":1024,"name":"totalSeasons","url":"interfaces/_interfaces_.omdbtvshow.html#totalseasons","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbTvshow"},{"id":51,"kind":256,"name":"OmdbEpisode","url":"interfaces/_interfaces_.omdbepisode.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":52,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbepisode.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":53,"kind":1024,"name":"Released","url":"interfaces/_interfaces_.omdbepisode.html#released","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":54,"kind":1024,"name":"Episode","url":"interfaces/_interfaces_.omdbepisode.html#episode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":55,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbepisode.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":56,"kind":1024,"name":"imdbRating","url":"interfaces/_interfaces_.omdbepisode.html#imdbrating","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":57,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbepisode.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbEpisode"},{"id":58,"kind":256,"name":"OmdbSeason","url":"interfaces/_interfaces_.omdbseason.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":59,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbseason.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":60,"kind":1024,"name":"Season","url":"interfaces/_interfaces_.omdbseason.html#season","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":61,"kind":1024,"name":"totalEpisodes","url":"interfaces/_interfaces_.omdbseason.html#totalepisodes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":62,"kind":1024,"name":"Episodes","url":"interfaces/_interfaces_.omdbseason.html#episodes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":63,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbseason.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSeason"},{"id":64,"kind":256,"name":"OmdbSearchResult","url":"interfaces/_interfaces_.omdbsearchresult.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":65,"kind":1024,"name":"Title","url":"interfaces/_interfaces_.omdbsearchresult.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":66,"kind":1024,"name":"Year","url":"interfaces/_interfaces_.omdbsearchresult.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":67,"kind":1024,"name":"imdbID","url":"interfaces/_interfaces_.omdbsearchresult.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":68,"kind":1024,"name":"Type","url":"interfaces/_interfaces_.omdbsearchresult.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":69,"kind":1024,"name":"Poster","url":"interfaces/_interfaces_.omdbsearchresult.html#poster","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearchResult"},{"id":70,"kind":256,"name":"OmdbSearch","url":"interfaces/_interfaces_.omdbsearch.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":71,"kind":1024,"name":"Search","url":"interfaces/_interfaces_.omdbsearch.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearch"},{"id":72,"kind":1024,"name":"totalResults","url":"interfaces/_interfaces_.omdbsearch.html#totalresults","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearch"},{"id":73,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdbsearch.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbSearch"},{"id":74,"kind":256,"name":"OmdbError","url":"interfaces/_interfaces_.omdberror.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":75,"kind":1024,"name":"Response","url":"interfaces/_interfaces_.omdberror.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbError"},{"id":76,"kind":1024,"name":"Error","url":"interfaces/_interfaces_.omdberror.html#error","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces\".OmdbError"},{"id":77,"kind":64,"name":"isError","url":"modules/_interfaces_.html#iserror","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":78,"kind":64,"name":"isTvshow","url":"modules/_interfaces_.html#istvshow","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":79,"kind":64,"name":"isMovie","url":"modules/_interfaces_.html#ismovie","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":80,"kind":64,"name":"isEpisode","url":"modules/_interfaces_.html#isepisode","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"interfaces\""},{"id":81,"kind":1,"name":"\"imdb\"","url":"modules/_imdb_.html","classes":"tsd-kind-external-module"},{"id":82,"kind":256,"name":"MovieOpts","url":"interfaces/_imdb_.movieopts.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":83,"kind":1024,"name":"apiKey","url":"interfaces/_imdb_.movieopts.html#apikey","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieOpts"},{"id":84,"kind":1024,"name":"timeout","url":"interfaces/_imdb_.movieopts.html#timeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieOpts"},{"id":85,"kind":256,"name":"MovieRequest","url":"interfaces/_imdb_.movierequest.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":86,"kind":1024,"name":"name","url":"interfaces/_imdb_.movierequest.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":87,"kind":1024,"name":"id","url":"interfaces/_imdb_.movierequest.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":88,"kind":1024,"name":"year","url":"interfaces/_imdb_.movierequest.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":89,"kind":1024,"name":"opts","url":"interfaces/_imdb_.movierequest.html#opts","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".MovieRequest"},{"id":90,"kind":256,"name":"SearchRequest","url":"interfaces/_imdb_.searchrequest.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":91,"kind":1024,"name":"title","url":"interfaces/_imdb_.searchrequest.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".SearchRequest"},{"id":92,"kind":1024,"name":"reqtype","url":"interfaces/_imdb_.searchrequest.html#reqtype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".SearchRequest"},{"id":93,"kind":1024,"name":"year","url":"interfaces/_imdb_.searchrequest.html#year","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"imdb\".SearchRequest"},{"id":94,"kind":128,"name":"Episode","url":"classes/_imdb_.episode.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":95,"kind":1024,"name":"season","url":"classes/_imdb_.episode.html#season","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":96,"kind":1024,"name":"name","url":"classes/_imdb_.episode.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":97,"kind":1024,"name":"episode","url":"classes/_imdb_.episode.html#episode","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":98,"kind":1024,"name":"released","url":"classes/_imdb_.episode.html#released","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":99,"kind":1024,"name":"imdbid","url":"classes/_imdb_.episode.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":100,"kind":1024,"name":"rating","url":"classes/_imdb_.episode.html#rating","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":101,"kind":512,"name":"constructor","url":"classes/_imdb_.episode.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".Episode"},{"id":102,"kind":128,"name":"Movie","url":"classes/_imdb_.movie.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":103,"kind":1024,"name":"imdbid","url":"classes/_imdb_.movie.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":104,"kind":1024,"name":"imdburl","url":"classes/_imdb_.movie.html#imdburl","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":105,"kind":1024,"name":"genres","url":"classes/_imdb_.movie.html#genres","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":106,"kind":1024,"name":"languages","url":"classes/_imdb_.movie.html#languages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":107,"kind":1024,"name":"country","url":"classes/_imdb_.movie.html#country","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":108,"kind":1024,"name":"votes","url":"classes/_imdb_.movie.html#votes","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":109,"kind":1024,"name":"series","url":"classes/_imdb_.movie.html#series","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":110,"kind":1024,"name":"rating","url":"classes/_imdb_.movie.html#rating","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":111,"kind":1024,"name":"runtime","url":"classes/_imdb_.movie.html#runtime","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":112,"kind":1024,"name":"title","url":"classes/_imdb_.movie.html#title","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":113,"kind":1024,"name":"year","url":"classes/_imdb_.movie.html#year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":114,"kind":1024,"name":"type","url":"classes/_imdb_.movie.html#type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":115,"kind":1024,"name":"poster","url":"classes/_imdb_.movie.html#poster","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":116,"kind":1024,"name":"metascore","url":"classes/_imdb_.movie.html#metascore","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":117,"kind":1024,"name":"plot","url":"classes/_imdb_.movie.html#plot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":118,"kind":1024,"name":"rated","url":"classes/_imdb_.movie.html#rated","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":119,"kind":1024,"name":"director","url":"classes/_imdb_.movie.html#director","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":120,"kind":1024,"name":"writer","url":"classes/_imdb_.movie.html#writer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":121,"kind":1024,"name":"actors","url":"classes/_imdb_.movie.html#actors","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":122,"kind":1024,"name":"released","url":"classes/_imdb_.movie.html#released","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":123,"kind":1024,"name":"_year_data","url":"classes/_imdb_.movie.html#_year_data","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"\"imdb\".Movie"},{"id":124,"kind":512,"name":"constructor","url":"classes/_imdb_.movie.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".Movie"},{"id":125,"kind":128,"name":"TVShow","url":"classes/_imdb_.tvshow.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":126,"kind":1024,"name":"start_year","url":"classes/_imdb_.tvshow.html#start_year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":127,"kind":1024,"name":"end_year","url":"classes/_imdb_.tvshow.html#end_year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":128,"kind":1024,"name":"totalseasons","url":"classes/_imdb_.tvshow.html#totalseasons","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":129,"kind":1024,"name":"_episodes","url":"classes/_imdb_.tvshow.html#_episodes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".TVShow"},{"id":130,"kind":1024,"name":"opts","url":"classes/_imdb_.tvshow.html#opts","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".TVShow"},{"id":131,"kind":512,"name":"constructor","url":"classes/_imdb_.tvshow.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"\"imdb\".TVShow"},{"id":132,"kind":2048,"name":"episodes","url":"classes/_imdb_.tvshow.html#episodes","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"imdb\".TVShow"},{"id":133,"kind":1024,"name":"imdbid","url":"classes/_imdb_.tvshow.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":134,"kind":1024,"name":"imdburl","url":"classes/_imdb_.tvshow.html#imdburl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":135,"kind":1024,"name":"genres","url":"classes/_imdb_.tvshow.html#genres","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":136,"kind":1024,"name":"languages","url":"classes/_imdb_.tvshow.html#languages","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":137,"kind":1024,"name":"country","url":"classes/_imdb_.tvshow.html#country","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":138,"kind":1024,"name":"votes","url":"classes/_imdb_.tvshow.html#votes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":139,"kind":1024,"name":"series","url":"classes/_imdb_.tvshow.html#series","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":140,"kind":1024,"name":"rating","url":"classes/_imdb_.tvshow.html#rating","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":141,"kind":1024,"name":"runtime","url":"classes/_imdb_.tvshow.html#runtime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":142,"kind":1024,"name":"title","url":"classes/_imdb_.tvshow.html#title","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":143,"kind":1024,"name":"year","url":"classes/_imdb_.tvshow.html#year","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":144,"kind":1024,"name":"type","url":"classes/_imdb_.tvshow.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":145,"kind":1024,"name":"poster","url":"classes/_imdb_.tvshow.html#poster","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":146,"kind":1024,"name":"metascore","url":"classes/_imdb_.tvshow.html#metascore","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":147,"kind":1024,"name":"plot","url":"classes/_imdb_.tvshow.html#plot","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":148,"kind":1024,"name":"rated","url":"classes/_imdb_.tvshow.html#rated","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":149,"kind":1024,"name":"director","url":"classes/_imdb_.tvshow.html#director","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":150,"kind":1024,"name":"writer","url":"classes/_imdb_.tvshow.html#writer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":151,"kind":1024,"name":"actors","url":"classes/_imdb_.tvshow.html#actors","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":152,"kind":1024,"name":"released","url":"classes/_imdb_.tvshow.html#released","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"imdb\".TVShow"},{"id":153,"kind":1024,"name":"_year_data","url":"classes/_imdb_.tvshow.html#_year_data","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"\"imdb\".TVShow"},{"id":154,"kind":128,"name":"SearchResult","url":"classes/_imdb_.searchresult.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":155,"kind":1024,"name":"title","url":"classes/_imdb_.searchresult.html#title","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":156,"kind":1024,"name":"year","url":"classes/_imdb_.searchresult.html#year","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":157,"kind":1024,"name":"imdbid","url":"classes/_imdb_.searchresult.html#imdbid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":158,"kind":1024,"name":"type","url":"classes/_imdb_.searchresult.html#type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":159,"kind":1024,"name":"poster","url":"classes/_imdb_.searchresult.html#poster","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":160,"kind":512,"name":"constructor","url":"classes/_imdb_.searchresult.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".SearchResult"},{"id":161,"kind":128,"name":"SearchResults","url":"classes/_imdb_.searchresults.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":162,"kind":1024,"name":"results","url":"classes/_imdb_.searchresults.html#results","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":163,"kind":1024,"name":"totalresults","url":"classes/_imdb_.searchresults.html#totalresults","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":164,"kind":1024,"name":"page","url":"classes/_imdb_.searchresults.html#page","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".SearchResults"},{"id":165,"kind":1024,"name":"opts","url":"classes/_imdb_.searchresults.html#opts","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".SearchResults"},{"id":166,"kind":1024,"name":"req","url":"classes/_imdb_.searchresults.html#req","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"imdb\".SearchResults"},{"id":167,"kind":512,"name":"constructor","url":"classes/_imdb_.searchresults.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":168,"kind":2048,"name":"next","url":"classes/_imdb_.searchresults.html#next","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"imdb\".SearchResults"},{"id":169,"kind":128,"name":"ImdbError","url":"classes/_imdb_.imdberror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":170,"kind":1024,"name":"name","url":"classes/_imdb_.imdberror.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".ImdbError"},{"id":171,"kind":512,"name":"constructor","url":"classes/_imdb_.imdberror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"imdb\".ImdbError"},{"id":172,"kind":1024,"name":"message","url":"classes/_imdb_.imdberror.html#message","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"imdb\".ImdbError"},{"id":173,"kind":32,"name":"Promise","url":"modules/_imdb_.html#promise","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":174,"kind":32,"name":"omdbapi","url":"modules/_imdb_.html#omdbapi","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":175,"kind":4194304,"name":"RequestType","url":"modules/_imdb_.html#requesttype","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":176,"kind":64,"name":"reqtoqueryobj","url":"modules/_imdb_.html#reqtoqueryobj","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":177,"kind":32,"name":"trans_table","url":"modules/_imdb_.html#trans_table","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"imdb\""},{"id":178,"kind":64,"name":"getReq","url":"modules/_imdb_.html#getreq","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":179,"kind":64,"name":"get","url":"modules/_imdb_.html#get","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":180,"kind":64,"name":"getById","url":"modules/_imdb_.html#getbyid","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""},{"id":181,"kind":64,"name":"search","url":"modules/_imdb_.html#search","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"imdb\""}]};

@@ -6,3 +6,2 @@ import { OmdbEpisode, OmdbMovie, OmdbSearch, OmdbSearchResult, OmdbTvshow } from "./interfaces";

}
export declare type RequestType = "movie" | "series" | "episode" | "game";
export interface MovieRequest {

@@ -14,2 +13,3 @@ name?: string;

}
export declare type RequestType = "movie" | "series" | "episode" | "game";
export interface SearchRequest {

@@ -50,13 +50,13 @@ title: string;

released: Date;
private _year_data;
protected _year_data: string;
constructor(obj: OmdbMovie);
}
export declare class TVShow extends Movie {
private _episodes;
private opts;
start_year: any;
end_year: any;
totalseasons: any;
private _episodes;
private opts;
constructor(object: OmdbTvshow, opts: MovieOpts);
episodes(cb?: (err: Error, data: Episode[]) => any): any;
episodes(cb?: (err: Error, data: Episode[]) => any): Promise<Episode[]>;
}

@@ -85,5 +85,5 @@ export declare class SearchResult {

}
export declare function getReq(req: MovieRequest, cb?: (err: Error, data: Movie | Episode) => any): any;
export declare function getReq(req: MovieRequest, cb?: (err: Error, data: Movie | Episode) => any): Promise<Movie>;
export declare function get(name: string, opts: MovieOpts, cb?: (err: Error, data: Movie) => any): Promise<Movie>;
export declare function getById(imdbid: string, opts: MovieOpts, cb?: (err: Error, data: Movie) => any): Promise<Movie>;
export declare function search(req: SearchRequest, opts: MovieOpts, page?: number): Promise<SearchResults>;

@@ -20,21 +20,16 @@ "use strict";

function reqtoqueryobj(req, apikey, page) {
var ret = {
"s": req.title,
"r": "json",
"apikey": apikey,
"page": page
return {
apikey: apikey,
page: page,
r: "json",
s: req.title,
type: req.reqtype,
y: req.year
};
if (req.reqtype !== undefined) {
ret["type"] = req.reqtype;
}
if (req.year !== undefined) {
req["y"] = req.year;
}
return ret;
}
var trans_table = new util_1.Inverter({
"genres": "Genre",
"languages": "Language",
"votes": "imdbVotes",
"rating": "imdbRating"
genres: "Genre",
languages: "Language",
rating: "imdbRating",
votes: "imdbVotes"
});

@@ -47,3 +42,3 @@ var Episode = (function () {

var _a = obj[attr].split("-"), year = _a[0], month = _a[1], day = _a[2];
this.released = new Date(parseInt(year), parseInt(month) - 1, parseInt(day));
this.released = new Date(parseInt(year, 10), parseInt(month, 10) - 1, parseInt(day, 10));
}

@@ -54,3 +49,3 @@ else if (attr === "Rating") {

else if (attr === "Episode" || attr === "Season") {
this[attr.toLowerCase()] = parseInt(obj[attr]);
this[attr.toLowerCase()] = parseInt(obj[attr], 10);
}

@@ -75,5 +70,5 @@ else if (attr === "Title") {

if (attr === "year" || attr.toLowerCase() === "year") {
this["_year_data"] = obj[attr];
this._year_data = obj[attr];
if (!obj[attr].match(/\d{4}[\-–]\d{4}/)) {
this[attr.toLowerCase()] = parseInt(obj[attr]);
this[attr.toLowerCase()] = parseInt(obj[attr], 10);
}

@@ -105,6 +100,6 @@ }

_this._episodes = [];
var years = _this["_year_data"].split("-");
_this.start_year = parseInt(years[0]) ? parseInt(years[0]) : null;
_this.end_year = parseInt(years[1]) ? parseInt(years[1]) : null;
_this.totalseasons = parseInt(_this["totalseasons"]);
var years = _this._year_data.split("-");
_this.start_year = parseInt(years[0], 10) ? parseInt(years[0], 10) : null;
_this.end_year = parseInt(years[1], 10) ? parseInt(years[1], 10) : null;
_this.totalseasons = parseInt(_this.totalseasons, 10);
_this.opts = opts;

@@ -120,5 +115,15 @@ return _this;

for (var i = 1; i <= tvShow.totalseasons; i++) {
var reqopts = { "qs": { "apikey": tvShow.opts.apiKey, "i": tvShow.imdbid, "r": "json", "Season": i }, "json": true, "url": omdbapi };
var reqopts = {
json: true,
qs: {
Season: i,
apikey: tvShow.opts.apiKey,
i: tvShow.imdbid,
r: "json"
},
timeout: undefined,
url: omdbapi
};
if ("timeout" in this.opts) {
reqopts["timeout"] = this.opts.timeout;
reqopts.timeout = this.opts.timeout;
}

@@ -131,14 +136,18 @@ funcs.push(rp(reqopts));

for (var key in ep_data) {
var datum = ep_data[key];
if (interfaces_1.isError(datum)) {
var err = new ImdbError(datum.Error);
if (cb) {
return cb(err, undefined);
if (ep_data.hasOwnProperty(key)) {
var datum = ep_data[key];
if (interfaces_1.isError(datum)) {
var err = new ImdbError(datum.Error);
if (cb) {
return cb(err, undefined);
}
return Promise.reject(err);
}
return Promise.reject(err);
}
else {
var season = parseInt(datum.Season);
for (var ep in datum.Episodes) {
eps.push(new Episode(datum.Episodes[ep], season));
else {
var season = parseInt(datum.Season, 10);
for (var ep in datum.Episodes) {
if (datum.Episodes.hasOwnProperty(ep)) {
eps.push(new Episode(datum.Episodes[ep], season));
}
}
}

@@ -168,8 +177,10 @@ }

for (var attr in obj) {
if (attr === "Year") {
this.year = parseInt(obj[attr]);
if (obj.hasOwnProperty(attr)) {
if (attr === "Year") {
this.year = parseInt(obj[attr], 10);
}
else {
this[attr.toLowerCase()] = obj[attr];
}
}
else {
this[attr.toLowerCase()] = obj[attr];
}
}

@@ -222,12 +233,24 @@ }

}
var qs = { apikey: req.opts.apiKey, plot: "full", r: "json", y: req.year };
var qs = {
apikey: req.opts.apiKey,
i: undefined,
plot: "full",
r: "json",
t: undefined,
y: req.year
};
if (req.name) {
qs["t"] = req.name;
qs.t = req.name;
}
else if (req.id) {
qs["i"] = req.id;
qs.i = req.id;
}
var reqopts = { "qs": qs, url: omdbapi, json: true };
var reqopts = {
json: true,
qs: qs,
timeout: undefined,
url: omdbapi
};
if ("timeout" in req.opts) {
reqopts["timeout"] = req.opts.timeout;
reqopts.timeout = req.opts.timeout;
}

@@ -293,5 +316,5 @@ var prom = rp(reqopts).then(function (data) {

var qs = reqtoqueryobj(req, opts.apiKey, page);
var reqopts = { "qs": qs, url: omdbapi, json: true };
var reqopts = { qs: qs, url: omdbapi, json: true, timeout: undefined };
if ("timeout" in opts) {
reqopts["timeout"] = opts.timeout;
reqopts.timeout = opts.timeout;
}

@@ -298,0 +321,0 @@ var prom = rp(reqopts).then(function (data) {

export declare class Inverter {
private obj;
private rev_obj;
constructor(obj: Object);
constructor(obj: object);
get(key: string): string;
}

@@ -8,3 +8,5 @@ "use strict";

for (var attr in obj) {
this.rev_obj[obj[attr]] = attr;
if (obj.hasOwnProperty(attr)) {
this.rev_obj[obj[attr]] = attr;
}
}

@@ -11,0 +13,0 @@ }

@@ -5,3 +5,3 @@ {

"description": "Queries unofficial imdb APIs to get movie and television information from imdb",
"version": "3.1.1",
"version": "3.1.2",
"main": "./lib/imdb.js",

@@ -8,0 +8,0 @@ "types": "./lib/imdb.d.ts",

@@ -30,5 +30,5 @@ # node-imdb-api

```js
imdb.get('The Toxic Avenger', {apiKey: 'foo', timeout: 30}).then(console.log).catch(console.log);
imdb.getById('tt0090190', {apiKey: 'foo', timeout: 30}).then(console.log).catch(console.log);
imdb.getReq({ name: 'The Toxic Avenger', opts: {apiKey: 'foo', timeout: 30} }).then(console.log).catch(console.log);
imdb.get('The Toxic Avenger', {apiKey: 'foo', timeout: 30000}).then(console.log).catch(console.log);
imdb.getById('tt0090190', {apiKey: 'foo', timeout: 30000}).then(console.log).catch(console.log);
imdb.getReq({ name: 'The Toxic Avenger', opts: {apiKey: 'foo', timeout: 30000} }).then(console.log).catch(console.log);
```

@@ -35,0 +35,0 @@ DATA

"use strict";
import {
Inverter
Inverter,
} from "./util";

@@ -12,9 +12,9 @@

isTvshow,
OmdbEpisode,
OmdbError,
OmdbEpisode,
OmdbMovie,
OmdbSeason,
OmdbSearch,
OmdbSearchResult,
OmdbTvshow
OmdbSeason,
OmdbTvshow,
} from "./interfaces";

@@ -29,12 +29,22 @@

/**
* Options to manipulate movie fetching
*/
export interface MovieOpts {
/**
* API key for omdbapi. Needed to make any API calls.
*
* Get one [here](https://www.patreon.com/posts/api-is-going-10743518)
*/
apiKey: string;
/**
* timeout in milliseconds to wait before giving up on a request
*/
timeout?: number;
}
export type RequestType = "movie"
| "series"
| "episode"
| "game";
/**
* Movie we're requesting
*/
export interface MovieRequest {

@@ -47,2 +57,13 @@ name?: string;

/**
* Type of media we're searching for
*/
export type RequestType = "movie"
| "series"
| "episode"
| "game";
/**
* Search we're making
*/
export interface SearchRequest {

@@ -55,25 +76,17 @@ title: string;

function reqtoqueryobj(req: SearchRequest, apikey: string, page: number): object {
const ret = {
"s": req.title,
"r": "json",
"apikey": apikey,
"page": page,
return {
apikey,
page,
r: "json",
s: req.title,
type: req.reqtype,
y: req.year,
};
if (req.reqtype !== undefined) {
ret["type"] = req.reqtype;
}
if (req.year !== undefined) {
req["y"] = req.year;
}
return ret;
}
const trans_table = new Inverter({
"genres": "Genre",
"languages": "Language",
"votes": "imdbVotes",
"rating": "imdbRating",
genres: "Genre",
languages: "Language",
rating: "imdbRating",
votes: "imdbVotes",
});

@@ -94,7 +107,7 @@

const [year, month, day] = obj[attr].split("-");
this.released = new Date(parseInt(year), parseInt(month) - 1, parseInt(day));
this.released = new Date(parseInt(year, 10), parseInt(month, 10) - 1, parseInt(day, 10));
} else if (attr === "Rating") {
this[attr.toLowerCase()] = parseFloat(obj[attr]);
} else if (attr === "Episode" || attr === "Season") {
this[attr.toLowerCase()] = parseInt(obj[attr]);
this[attr.toLowerCase()] = parseInt(obj[attr], 10);
} else if (attr === "Title") {

@@ -134,4 +147,3 @@ this.name = obj[attr];

// Should really be protected
private _year_data: string;
protected _year_data: string;

@@ -141,5 +153,5 @@ constructor(obj: OmdbMovie) {

if (attr === "year" || attr.toLowerCase() === "year") {
this["_year_data"] = obj[attr];
this._year_data = obj[attr];
if (!obj[attr].match(/\d{4}[\-–]\d{4}/)) {
this[attr.toLowerCase()] = parseInt(obj[attr]);
this[attr.toLowerCase()] = parseInt(obj[attr], 10);
}

@@ -163,4 +175,2 @@ } else if (attr === "Released") {

export class TVShow extends Movie {
private _episodes: Episode[] = [];
private opts: MovieOpts;
public start_year;

@@ -170,12 +180,22 @@ public end_year;

private _episodes: Episode[] = [];
private opts: MovieOpts;
constructor(object: OmdbTvshow, opts: MovieOpts) {
super(object);
const years = this["_year_data"].split("-");
this.start_year = parseInt(years[0]) ? parseInt(years[0]) : null;
this.end_year = parseInt(years[1]) ? parseInt(years[1]) : null;
this.totalseasons = parseInt(this["totalseasons"]);
const years = this._year_data.split("-");
this.start_year = parseInt(years[0], 10) ? parseInt(years[0], 10) : null;
this.end_year = parseInt(years[1], 10) ? parseInt(years[1], 10) : null;
this.totalseasons = parseInt(this.totalseasons, 10);
this.opts = opts;
}
public episodes(cb?: (err: Error, data: Episode[]) => any) {
/**
* Fetches episodes of a TV show
*
* @param cb optional callback that gets any errors or episodes
*
* @return Promise yielding list of episodes
*/
public episodes(cb?: (err: Error, data: Episode[]) => any): Promise<Episode[]> {
if (this._episodes.length !== 0) {

@@ -189,5 +209,16 @@ return cb(undefined, this._episodes);

for (let i = 1; i <= tvShow.totalseasons; i++) {
const reqopts = { "qs": { "apikey": tvShow.opts.apiKey, "i": tvShow.imdbid, "r": "json", "Season": i }, "json": true, "url": omdbapi };
const reqopts = {
json: true,
qs: {
Season: i,
apikey: tvShow.opts.apiKey,
i: tvShow.imdbid,
r: "json",
},
timeout: undefined,
url: omdbapi,
};
if ("timeout" in this.opts) {
reqopts["timeout"] = this.opts.timeout;
reqopts.timeout = this.opts.timeout;
}

@@ -199,17 +230,21 @@

const prom = Promise.all(funcs)
.then(function(ep_data: OmdbSeason[] | OmdbError[]) {
.then((ep_data: OmdbSeason[] | OmdbError[]) => {
const eps: Episode[] = [];
for (const key in ep_data) {
const datum = ep_data[key];
if (isError(datum)) {
const err = new ImdbError(datum.Error);
if (cb) {
return cb(err, undefined);
}
if (ep_data.hasOwnProperty(key)) {
const datum = ep_data[key];
if (isError(datum)) {
const err = new ImdbError(datum.Error);
if (cb) {
return cb(err, undefined);
}
return Promise.reject(err);
} else {
const season = parseInt(datum.Season);
for (const ep in datum.Episodes) {
eps.push(new Episode(datum.Episodes[ep], season));
return Promise.reject(err);
} else {
const season = parseInt(datum.Season, 10);
for (const ep in datum.Episodes) {
if (datum.Episodes.hasOwnProperty(ep)) {
eps.push(new Episode(datum.Episodes[ep], season));
}
}
}

@@ -228,3 +263,3 @@ }

if (cb) {
prom.catch(function(err) {
prom.catch((err) => {
return cb(err, undefined);

@@ -247,6 +282,8 @@ });

for (const attr in obj) {
if (attr === "Year") {
this.year = parseInt(obj[attr]);
} else {
this[attr.toLowerCase()] = obj[attr];
if (obj.hasOwnProperty(attr)) {
if (attr === "Year") {
this.year = parseInt(obj[attr], 10);
} else {
this[attr.toLowerCase()] = obj[attr];
}
}

@@ -280,2 +317,7 @@ }

/**
* Returns the next page of search results
*
* @return next page of search results
*/
public next(): Promise<SearchResults> {

@@ -292,3 +334,12 @@ return search(this.req, this.opts, this.page + 1);

export function getReq(req: MovieRequest, cb?: (err: Error, data: Movie | Episode) => any) {
/**
* Fetches a movie by arbitrary criteria
*
* @param req set of requirements to search for
* @param opts options that modify a search
* @param cb optional callback to execute after fetching data
*
* @return a promise yielding a movie
*/
export function getReq(req: MovieRequest, cb?: (err: Error, data: Movie | Episode) => any): Promise<Movie> {

@@ -304,17 +355,29 @@ if (req.opts === undefined || !req.opts.hasOwnProperty("apiKey")) {

const qs = { apikey: req.opts.apiKey, plot: "full", r: "json", y: req.year };
const qs = {
apikey: req.opts.apiKey,
i: undefined,
plot: "full",
r: "json",
t: undefined,
y: req.year,
};
if (req.name) {
qs["t"] = req.name;
qs.t = req.name;
} else if (req.id) {
qs["i"] = req.id;
qs.i = req.id;
}
const reqopts = { "qs": qs, url: omdbapi, json: true };
const reqopts = {
json: true,
qs,
timeout: undefined,
url: omdbapi,
};
if ("timeout" in req.opts) {
reqopts["timeout"] = req.opts.timeout;
reqopts.timeout = req.opts.timeout;
}
const prom = rp(reqopts).then(function(data: OmdbMovie | OmdbError) {
const prom = rp(reqopts).then((data: OmdbMovie | OmdbError) => {
let ret: Movie | Episode;

@@ -353,3 +416,3 @@ if (isError(data)) {

if (cb) {
prom.catch(function(err) {
prom.catch((err) => {
cb(err, undefined);

@@ -362,10 +425,41 @@ });

/**
* @deprecated use getReq instead
*
* Gets a movie by name
*
* @param name name of movie to search for
* @param opts options that modify a search
* @param cb optional callback to execute after finding results
*
* @return a promise yielding a movie
*/
export function get(name: string, opts: MovieOpts, cb?: (err: Error, data: Movie) => any): Promise<Movie> {
return getReq({ id: undefined, opts: opts, name: name }, cb);
return getReq({ id: undefined, opts, name }, cb);
}
/**
* @deprecated use getReq instead
*
* Gets a movie by id
*
* @param imdbid id to search for
* @param opts options that modify a search
* @param cb optional callback to execute after finding results
*
* @return a promise yielding a movie
*/
export function getById(imdbid: string, opts: MovieOpts, cb?: (err: Error, data: Movie) => any): Promise<Movie> {
return getReq({ id: imdbid, opts: opts, name: undefined }, cb);
return getReq({ id: imdbid, opts, name: undefined }, cb);
}
/**
* Searches for a movie by arbitrary criteria
*
* @param req set of requirements to search for
* @param opts options that modify a search
* @param page page number to return
*
* @return a promise yielding search results
*/
export function search(req: SearchRequest, opts: MovieOpts, page?: number): Promise<SearchResults> {

@@ -377,8 +471,8 @@ if (page === undefined) {

const qs = reqtoqueryobj(req, opts.apiKey, page);
const reqopts = { "qs": qs, url: omdbapi, json: true };
const reqopts = { qs, url: omdbapi, json: true, timeout: undefined };
if ("timeout" in opts) {
reqopts["timeout"] = opts.timeout;
reqopts.timeout = opts.timeout;
}
const prom = rp(reqopts).then(function(data: OmdbSearch | OmdbError) {
const prom = rp(reqopts).then((data: OmdbSearch | OmdbError) => {
if (isError(data)) {

@@ -385,0 +479,0 @@ const err = new ImdbError(`${data.Error}: ${req.title}`);

@@ -12,8 +12,10 @@ // A good case for generics, but javascript has strict

constructor (obj: Object) {
constructor(obj: object) {
this.obj = obj as StringHashMap;
this.rev_obj = {} as StringHashMap;
for (let attr in obj) {
this.rev_obj[obj[attr]] = attr;
for (const attr in obj) {
if (obj.hasOwnProperty(attr)) {
this.rev_obj[obj[attr]] = attr;
}
}

@@ -20,0 +22,0 @@ }

@@ -73,3 +73,3 @@ var https = require('https');

function testResults(err, tvshow) {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&i=tt0460649&r=json&Season=1').reply(200, require('./data/how-I-met-your-mother-episodes.json'));
var scope = nock('https://www.omdbapi.com').get('/?Season=1&apikey=foo&i=tt0460649&r=json').reply(200, require('./data/how-I-met-your-mother-episodes.json'));
test.ifError(err);

@@ -76,0 +76,0 @@

@@ -10,3 +10,3 @@ "use strict";

module.exports.testGetByIdSuccessful = function(test) {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&plot=full&r=json&i=tt0090191').reply(200, require('./data/toxic-avenger.json'));
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&i=tt0090191&plot=full&r=json').reply(200, require('./data/toxic-avenger.json'));

@@ -44,3 +44,3 @@ return imdb.getById('tt0090191', {

module.exports.testGetMadeupMovie = function(test) {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&plot=full&r=json&i=tt0090190').reply(200, {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&i=tt0090190&plot=full&r=json').reply(200, {
Response: "False",

@@ -47,0 +47,0 @@ Error: "Movie not found!"

@@ -30,3 +30,3 @@ var https = require('https');

module.exports.testGetByReqIdSuccessful = function(test) {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&plot=full&r=json&i=tt0090191').reply(200, require('./data/toxic-avenger.json'));
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&i=tt0090191&plot=full&r=json').reply(200, require('./data/toxic-avenger.json'));

@@ -53,3 +53,3 @@ return imdb.getReq({

module.exports.testGetByReqYear = function(test) {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&plot=full&r=json&y=2015&t=James%20Bond').reply(200, require('./data/james-bond.json'));
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&plot=full&r=json&t=James%20Bond&y=2015').reply(200, require('./data/james-bond.json'));

@@ -76,3 +76,3 @@ return imdb.getReq({

module.exports.testGetEpisode = function(test) {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&plot=full&r=json&i=tt0869673').reply(200, require('./data/mother-ep.json'));
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&i=tt0869673&plot=full&r=json').reply(200, require('./data/mother-ep.json'));

@@ -79,0 +79,0 @@ return imdb.getReq({

@@ -45,3 +45,3 @@ var https = require('https');

}).then(function(data) {
var scope = nock('https://www.omdbapi.com').get('/?apikey=foo&i=tt0460649&r=json&Season=1').reply(200, require('./data/how-I-met-your-mother-episodes.json'));
var scope = nock('https://www.omdbapi.com').get('/?Season=1&apikey=foo&i=tt0460649&r=json').reply(200, require('./data/how-I-met-your-mother-episodes.json'));

@@ -48,0 +48,0 @@ test.ok(data);

@@ -8,3 +8,3 @@ const https = require("https");

module.exports.testSearchSuccessful = function(test) {
const scope = nock('https://www.omdbapi.com').get('/?s=Toxic%20Avenger&r=json&apikey=foo&page=1').reply(200, require('./data/toxic-avenger-search.json'));
const scope = nock('https://www.omdbapi.com').get('/?apikey=foo&page=1&r=json&s=Toxic%20Avenger').reply(200, require('./data/toxic-avenger-search.json'));

@@ -11,0 +11,0 @@ return imdb.search({

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc