- Nothing changed yet.
Added
- Added cache_expiry
parameter to Imdb
class, to specify cache expiry in seconds.
Changes
- Internal caching changed you use 3rd party package
cachecontrol
.
Removed
Imdb
class no longer takes acache_dir
parameter.
Changed
- All methods on
Imdb
will raiseimdbpie.exceptions.HTTPError
if a bad request to the API or resource is not found ("Errors should never pass silently"). Imdb.get_title_reviews
now has param max_results to limit number of reviews returned.
Added
- Added verify_ssl kwarg option to Imdb
object. Allows for controlling of ssl cert verification on all requests made.
Added
Title.plot_outline
has been added. It returns a string.
Added
Imdb.search_for_person
has been added. It returns a list of dicts.Imdb.get_title_plots
has been added. It returns a list of strings.Title.trailer_image_urls
returns a list of trailer urls (string).Imdb.get_person_by_id
has been added. It returns a Person object.
Changed
Title.plots
returns a list of full plots.Title.trailers
returns a list of dicts (keys: "url", "format").Title.runtime
returns runtime in seconds now instead of hours.Person.role
is nowPerson.roles
and returns a list rather than a string.Imdb.person_images
has been renamed toImdb.get_person_images
.Imdb.title_reviews
has been renamed toImdb.get_title_reviews
and parameterlimit
has also been removed.Imdb.title_images
has been renamed toImdb.get_title_images
.Imdb.find_by_title
has been renamed toImdb.search_for_title
.Imdb.find_movie_by_id
has been renamed toImdb.get_title_by_id
and parameterjson
has been removed.Imdb.movie_exists
has been renamed toImdb.title_exists
.
Removed
Imdb.validate_id
has been removed.Title.plot_outline
has been removed.Title.trailer_img_url
has been removed.
- No notes, release made before changelog inception.