Trakt.py

Latest version: v4.4.0

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

Scan your dependencies

Page 4 of 8

2.7.0

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

- Support for multiple :code:`media` options on the :code:`Trakt['search'].query()` method
- Implemented the :code:`media` parameter on the :code:`Trakt['search'].lookup()` method

**Changed**

- "Request failed" warnings now display the request method and path to help with debugging
- Improved handling of requirements in [setup.py]

2.6.1

------------------
**Changed**

- Updated request error messages

**Fixed**

- Authorization tokens generated with device authentication wouldn't refresh correctly

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

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.