Package: imdbpie
NOTICE: If you’re reading this on GitHub.com please be aware this is a mirror of the primary remote located athttps://code.richard.do/richardARPANET/imdb-pie.
Please direct issues and pull requests there.ImdbPiePython IMDB client using the IMDB JSON web service made available for their iOS application.API TerminologyTitlethis can be a movie, tv show, video, documentary etc.Namethis can be a credit, cast member, any person generally.InstallationTo install imdbpie, simply:pipinstallimdbpieHow to useChoose an option:ImdbPie Facade usage examples(the easy way, returns objects).ImdbPie Client usage examples(more low level client API, returns raw dicts).Requirements1. Python 2 or 3
2. See requirements.txtRunning the testspipinstall-rtest_requirements.txtpy.testsrc/testsRelease History5.6.5 (2023-04-18)Packaging fixes.5.6.4 (2023-04-18)Fix for JSON parsing from the API.Fix fortitle_existsmethod raising 403 error.5.6.3 (2018-10-13)Bugfix for handing of national characters within search methods.5.6.2 (2018-07-09)Bugfix for issue inImdbFacade.get_titlewhereTypeErrorwould raise if the Title did not have any genres.5.6.1 (2018-06-17)Bugfix for issue inImdbFacade.get_titlewhere with titles which no do yet have credits information would causeKeyErrorto raise.5.6.0 (2018-06-09)Addsruntimeattribute toImdbFacade.5.5.0 (2018-05-27)Addsget_title_auxiliarymethod to client.AddsImdbFacadefacade for API.5.4.5 (2018-04-29)Packaging documentation updates.5.4.4 (2018-04-17)Python 2.x setup.py bugfix.Bugfix fortitle_existsmethod returningNone.Bugfix forget_titleraising an incorrect exception when redirection title.5.4.3 (2018-04-05)Updates license.5.4.2 (2018-04-05)Fixes missing setuptools dependency for pypi display of markdown formatted files.5.4.1 (2018-04-05)Packaging documentation fixes.5.4.0 (2018-03-18)Bugfix for incorrect AttributeError message showing when undefined attrs called on client class.Addsget_title_top_crewmethod.5.3.0 (2018-02-27)Addsget_title_plot_taglinesmethod.Addsget_title_newsmethod.Addsget_title_triviamethod.Addsget_title_soundtracksmethod.Addsget_title_goofsmethod.Addsget_title_technicalmethod.Addsget_title_companiesmethod.Addsget_title_episodes_detailedmethod.5.2.0 (2018-01-11)Updatesget_titleto call “/auxiliary” as “/fulldetails” endpoint now returns an error.Addsget_title_quotesmethod.Addsget_title_ratingsmethod.Addsget_title_connectionsmethod.Addsget_title_awardsmethod.Addsget_title_plot_synopsismethod.Addsget_title_versionsmethod.Addsget_title_releasesmethod.Addsget_title_similaritiesmethod.Addsget_title_videosmethod.Addsget_name_videosmethod.Addsget_name_filmographymethod.Adds response status code toImdbAPIErrorexception message.5.1.0 (2018-01-10)Addsget_title_genresmethod.5.0.0 (2018-01-10)Fixes client to work with new API.Renames most of methods onImdbclass.Changes all methods onImdbto return raw JSON resource dictionary rather than Python objects.Removes params fromImdb__init__method (user_agent, proxy_uri, verify_ssl, api_key, cache, anonymize).Addsclear_cached_credentialsmethod toImdbclass.4.4.2 (2018-01-03)Fixes bug when searching with non alphanumeric characters, second attempt.4.4.1 (2017-12-27)Fixes bug when searching with non alphanumeric characters.4.4.0 (2017-12-24)Fixessearch_for_personandsearch_for_titlemethods, which were broken because XML api used by the client was removed, migrated to using search suggestions api used by the website itself.Adds optionalsessionparam to client init method, used to specifyrequests.Session.All client methods will raiseValueErrorif invalidimdb_idparam given.4.3.0 (2017-08-10)AddedAddedImdb.popular_moviesto retrieve current popular movies.4.2.0 (2016-09-29)AddedPerson.photo_urlhas been added. It returns a string (url) or None.4.1.0 (2016-07-26)ChangedTitleand other objects to use less memory.Added notice of deprecation of caching in version 5.0.0.AddedImdb.get_episodesto retrieve Title Episode information.4.0.2 (2015-08-08)Added- Addedcache_expiryparameter toImdbclass, to specify cache expiry in seconds.ChangesInternal caching changed you use 3rd party packagecachecontrol.RemovedImdbclass no longer takes acache_dirparameter.3.0.0 (2015-06-12)ChangedAll methods onImdbwill raiseimdbpie.exceptions.HTTPErrorif a bad request to the API or resource is not found (“Errors should never pass silently”).Imdb.get_title_reviewsnow has parammax_resultsto limit number of reviews returned.2.1.0 (2015-05-03)Added- Added verify_ssl kwarg option toImdbobject. Allows for controlling of ssl cert verification on all requests made.2.0.1 (2015-03-30)AddedTitle.plot_outlinehas been added. It returns a string.2.0.0 (2015-03-12)AddedImdb.search_for_personhas been added. It returns a list of dicts.Imdb.get_title_plotshas been added. It returns a list of strings.Title.trailer_image_urlsreturns a list of trailer urls (string).Imdb.get_person_by_idhas been added. It returns a Person object.ChangedTitle.plotsreturns a list offullplots.Title.trailersreturns a list of dicts (keys: “url”, “format”).Title.runtimereturns runtime in seconds now instead of hours.Person.roleis nowPerson.rolesand returns a list rather than a string.Imdb.person_imageshas been renamed toImdb.get_person_images.Imdb.title_reviewshas been renamed toImdb.get_title_reviewsand parameterlimithas also been removed.Imdb.title_imageshas been renamed toImdb.get_title_images.Imdb.find_by_titlehas been renamed toImdb.search_for_title.Imdb.find_movie_by_idhas been renamed toImdb.get_title_by_idand parameterjsonhas been removed.Imdb.movie_existshas been renamed toImdb.title_exists.RemovedImdb.validate_idhas been removed.Title.plot_outlinehas been removed.Title.trailer_img_urlhas been removed.1.5.6 (2014-12-07)No notes, release made before changelog inception.