PyTrakt
This module is designed to be a Pythonic interface to the Trakt.tv. REST API. The official documentation for which can be found here. trakt contains interfaces to all of the Trakt.tv functionality in an, ideally, easily scriptable fashion. For more information on this module’s contents and example usages please see the PyTrakt docs.
More information about getting started and accessing the information you thirst for can be found throughout the documentation below.
Installation
There are two ways through which you can install trakt
Install Via Pip
To install with pip, just run this in your terminal:
$ pip install pytrakt
Get the code
trakt is available on GitHub.
You can either clone the public repository:
$ git clone git://github.com/glensc/python-pytrakt.git
Download the tarball:
$ curl -OL https://github.com/glensc/python-pytrakt/tarball/main
Or, download the zipball:
$ curl -OL https://github.com/glensc/python-pytrakt/zipball/main
Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:
$ python setup.py install
Contributing
Pull requests are graciously accepted. Any pull request should not break any tests and should pass flake8 style checks (unless otherwise warranted). Additionally the user opening the Pull Request should ensure that their username and a link to their GitHub page appears in CONTRIBUTORS.md.
TODO
The following lists define the known functionality provided by the Trakt.tv API which this module does not yet have support for. The current plan is that support for the following features will be added over time. As always, if you would like a feature added sooner rather than later, pull requests are most definitely appreciated.
High Level API Features
Pagination
Sync
Create a comment class to facilitate - returning an instance when a comment is created, instead of None - add ability to update and delete comments
Movies
movies/popular
movies/played/{time_period}
movies/watched/{time_period}
movies/collected/{time_period}
movies/anticipated
movies/boxoffice
movies/{slug}/stats
Shows
Played
Watched
Collected
Anticipated
Collection Progress
Watched Progress
Stats
Seasons
extended - images - episodes - full
stats
Episodes
stats
Users
hidden everything
likes - comments
comments
UserList - comments
history
watchlists - seasons - episodes
Metadata
Release files for pytrakt 4.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytrakt-4.4.6.tar.gz | 50.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytrakt-4.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.1 kB
Release files / pytrakt-4.4.6.tar.gz
| Download URL | pytrakt-4.4.6.tar.gz |
|---|---|
| Size | 50.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a246f85d936af69b4c528ba32ba2508285cf20d817e3ea089f9b6618ca93c887
|
|
BLAKE2b-256 checksum How to use checksums |
8082d96288936c803e958b368cc9754e48609d0c89d839222cab800f9516b39e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pytrakt-4.4.6-py3-none-any.whl
| Download URL | pytrakt-4.4.6-py3-none-any.whl |
|---|---|
| Size | 45.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60e2ea84fe1624370c5929d382967678017451f7c71f0f4ae1eacb0319c484c7
|
|
BLAKE2b-256 checksum How to use checksums |
6b71ec0e9201ecf36de79647f2941d1de30817075d09c0ce33d69c7ca8f31204
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|