Changelog¶
v0.10.1 (2018-12-10)¶
- Fix mishandling of
fullplot
,tomatoes
, andtimeout
parameters inOMDBClient.get()
that did not work correctly in conjuction withOMDBClient.set_default()
. - Fix mishandling of
type
parameter which was not being serialized to API request.
v0.10.0 (2018-04-08)¶
- Add methods to
OMDBClient
that mirror module functions:search()
search_movie()
search_episode()
search_series()
imdbid()
title()
v0.9.1 (2018-03-24)¶
- Remove
omdb.models
module and return plain dictionaries from search results instead of custom model classes. (breaking change)- Previously, one could access result items using attributes (e.g.
result.title
) or indexes (e.g.result['title']
). Now, results aredict
objects so must useresult['title']
.
- Previously, one could access result items using attributes (e.g.
- Rename
omdb.Client
toomdb.OMDBClient
. (breaking change) - Make
omdb.request|omdb.OMDBClient.request
use an API key if it’s set.
v0.8.1 (2017-08-10)¶
- Add support for OMDb API key via
omdb.set_default(apikey=API_KEY)
orclient = omdb.Client(apikey=API_KEY)
. Thanks oshribr! - Add
Epiodes
OMDb API fields asepisodes
model field.
v0.6.0 (2016-05-22)¶
- Add support for
timeout
parameter to all HTTP requests.
v0.5.0 (2015-07-29)¶
- Add support for
Season
/Episode
OMDb parameter viaseason
/episode
arguments to every main API function. Thanks cihansahin!
v0.4.0 (2015-04-29)¶
- Add
Season
,Episode
, andSeriesID
OMDb API fields asseason
,episode
, andseries_id
model fields.
v0.3.1 (2015-01-27)¶
Add metadata to main module:
__title__
__summary__
__url__
__version__
__author__
__email__
__license__
v0.3.0 (2015-01-13)¶
- Add
search_movie
. - Add
search_episode
. - Add
search_series
. - Add support for
type
OMDb parameter viamedia_type
argument to every main API function.
v0.2.0 (2014-10-16)¶
- Update
models.Item
with additionalOMDb API
fields:Awards
,Country
,Language
, andMetascore
. - Add
omdb.request
method for easier access to raw request response. - Initialization of
omdb.Client
now accepts keyword arguments for API request parameter defaults. Previously, adict
object needed to be passed in. - Full PEP8 compliance.
- Integrate
tox
testing intosetup.py
.
v0.1.1 (2014-02-09)¶
v0.1.0 (2013-11-24)¶
- Convert API response to data models (see omdb/models.py).
- Add /tests folder and move appropriate doctests there.
- Return empty data for
search
andget
requests which return no record(s). - Add
omdb.set_default()
for setting default request parameters (e.g.set_default(tomatoes=True)
to always include tomatoes data)
v0.0.1 (2013-11-12)¶
- Initial release.