Omdb

Latest version: v0.10.1

Safety actively analyzes 621854 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.10.1

--------------------

- Fix mishandling of ``fullplot``, ``tomatoes``, and ``timeout`` parameters in ``OMDBClient.get()`` that did not work correctly in conjuction with ``OMDBClient.set_default()``.
- Fix mishandling of ``type`` parameter which was not being serialized to API request.

0.10.0

--------------------

- Add methods to ``OMDBClient`` that mirror module functions:

- ``search()``
- ``search_movie()``
- ``search_episode()``
- ``search_series()``
- ``imdbid()``
- ``title()``

0.9.1

-------------------

- 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 are ``dict`` objects so must use ``result['title']``.

- Rename ``omdb.Client`` to ``omdb.OMDBClient``. (**breaking change**)
- Make ``omdb.request|omdb.OMDBClient.request`` use an API key if it's set.

0.8.1

-------------------

- Add support for OMDb API key via ``omdb.set_default(apikey=API_KEY)`` or ``client = omdb.Client(apikey=API_KEY)``. Thanks oshribr_!
- Add ``Epiodes`` OMDb API fields as ``episodes`` model field.

0.7.0

-------------------

- Add support for ``page`` parameter to ``search``. Thanks taserian_!

0.6.0

-------------------

- Add support for ``timeout`` parameter to all HTTP requests.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.