Package: aioimdb
aioimdb (IMDb + Python 3.6 + Asyncio)Python asyncio IMDb client using the IMDb JSON web service made available for their iOS app. This version requires Python 3.6 or later. It is based off of thesynchronous version by Richard O'Dwyer.API TerminologyTitlethis can be a movie, tv show, video, documentary etc.Namethis can be a credit, cast member, any person generally.InstallationTo install aioimdb, simply:pipinstallaioimdbHow To UseInitialise The ClientfromaioimdbimportImdbasyncwithImdb()asimdbresult=awaitimdb.<methodcall># <-- see Available Methods belowExample:fromaioimdbimportImdbasyncwithImdb()asimdbresult=awaitimdb.get_title('tt0111161')Available MethodsNOTE: For each client method, if the resource cannot be found they will raiseLookupError, if there is an API error thenImdbAPIErrorwill raise.ExampleDescriptionawait get_title('tt0111161')Returns a dict containing title informationawait search_for_title("The Dark Knight")Returns a dict of resultsawait search_for_name("Christian Bale)Returns a dict of resultsawait title_exits('tt0111161')Returns True if exists otherwise Falseawait get_title_genres('tt0303461')Returns a dict containing title genres informationawait get_title_credits('tt0303461')Returns a dict containing title credits informationawait get_title_quotes('tt0303461')Returns a dict containing title quotes informationawait get_title_ratings('tt0303461')Returns a dict containing title ratings informationawait get_title_connections('tt0303461')Returns a dict containing title connections informationawait get_title_similarities('tt0303461')Returns a dict containing title similarities informationawait get_title_videos('tt0303461')Returns a dict containing title videos informationawait get_title_news('tt0303461')Returns a dict containing newsawait get_title_trivia('tt0303461')Returns a dict containing triviaawait get_title_soundtracks('tt0303461')Returns a dict containing soundtracks informationawait get_title_goofs('tt0303461')Returns a dict containing "goofs" and teaser informationawait get_title_technical('tt0303461')Returns a dict containing technical informationawait get_title_companies('tt0303461')Returns a dict containing information about companies related to titleawait get_title_episodes('tt0303461')Returns a dict containing season and episodes informationawait get_title_episodes_detailed(imdb_id='tt0303461', season=1)Returns a dict containing detailed season episodes informationawait get_title_top_crew('tt0303461')Returns a dict containing detailed information about title's top crew (ie: directors, writters, etc.)await get_title_plot('tt0111161')Returns a dict containing title plot informationawait get_title_plot_synopsis('tt0111161')Returns a dict containing title plot synopsis informationawait get_title_awards('tt0111161')Returns a dict containing title plot informationawait get_title_releases('tt0111161')Returns a dict containing releases informationawait get_title_versions('tt0111161')Returns a dict containing versions information (meaning different versions of this title for different regions, or different versions for DVD vs Cinema)await get_title_user_reviews('tt0111161')Returns a dict containing user review informationawait get_title_metacritic_reviews('tt0111161')Returns a dict containing metacritic review informationawait get_title_images('tt0111161')Returns a dict containing title images informationawait get_name('nm0000151')Returns a dict containing person/name informationawait get_name_filmography('nm0000151')Returns a dict containing person/name filmography informationawait get_name_images('nm0000032')Returns a dict containing person/name images informationawait get_name_videos('nm0000032')Returns a dict containing person/name videos informationvalidate_imdb_id('tt0111161')RaisesValueErrorif not validawait get_popular_titles()Returns a dict containing popular titles informationawait get_popular_shows()Returns a dict containing popular tv showsawait get_popular_movies()Returns a dict containing popular moviesRequirements1. Python 3.6 or later
2. See requirements.txtRunning The Testspipinstall-rtest_requirements.txt
py.testtests