Trakt-py

Latest version: v2.14.1

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

Scan your dependencies

Page 3 of 7

2.6.0

------------------
**Added**

- :code:`Trakt['oauth/device']` (see :code:`examples/authentication/device.py` for usage details)
- :code:`Trakt['shows'].seasons()` now supports the :code:`extended="episodes"` parameter
- Pagination can now be enabled with :code:`pagination=True`, `warnings <https://docs.python.org/2/library/warnings.html>`_ will be displayed if you ignore pagination responses

**Changed**

- Moved the :code:`Trakt['oauth'].pin_url()` method to :code:`Trakt['oauth/pin'].url()`, the old method still works but will display a deprecation `warning <https://docs.python.org/2/library/warnings.html>`_

**Fixed**

- Issue retrieving lists by users with the :code:`.` character in their usernames

2.5.2

------------------
**Added**

- :code:`in_watchlist` property to :code:`Movie`, :code:`Show`, :code:`Season` and :code:`Episode` objects (45)
- :code:`Trakt.site_url` setter to override automatic detection
- :code:`HttpClient` now supports direct calls (43)

**Changed**

- Tests are now included in builds, but are excluded from installations

2.5.1

------------------
**Fixed**

- Issue installing trakt.py when "six" hasn't been installed yet

2.5.0

------------------
**Added**

- :code:`Trakt['users'].likes()` method
- :code:`CustomList.items()` method
- :code:`Comment` object
- :code:`Media.index` attribute (list item position/rank)
- Basic documentation generation (29)
- :code:`NullHandler` to the logger to avoid "No handler found" warnings (33)

**Changed**

- 'movies' and 'shows' interface methods to support the :code:`exceptions=True` parameter (32)
- :code:`Interface.get_data()` to only parse the response body if the request is successful (32)

**Fixed**

- :code:`TypeError` was raised in :code:`SummaryMapper` if the request failed (30, 31)
- Constructing "Special" episodes could raise an :code:`AttributeError` (38, 39)
- :code:`Media._update()` "images" attribute
- Issue serializing :code:`List` objects

2.4.1

------------------
**Fixed**

- Issue where the "_client" attribute on objects was being serialized
- Issue installing trakt.py when "arrow" isn't available yet

2.4.0

------------------
**Added**

- :code:`trending()` method to :code:`Trakt['shows']` and :code:`Trakt['movies']` interfaces (23)
- :code:`seasons()` and :code:`episodes()` methods to the :code:`Trakt['sync/watchlist']` interface (26)
- Custom lists support (:code:`Trakt['users/*/lists']`, :code:`Trakt['users/*/lists/*']`) (26)
- :code:`__eq__()` method on the :code:`Rating` class
- :code:`proxies` attribute on :code:`Trakt.http`

**Changed**

- :code:`datetime` objects are now returned offset-aware **(make sure you use offset-aware `datetime` objects when comparing timestamps now)**
- Force requests to use :code:`ssl.PROTOCOL_TLSv1` connections for https:// (25)
- Return site url from :code:`Trakt['oauth'].authorize_url()`
- Use season number from parent when one isn't defined in the episode

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.