Pythonic abstraction layer for easier scripting of the Trakt.tv REST API.
Project description
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 trakt
Get the code
trakt is available on GitHub.
You can either clone the public repository:
$ git clone git://github.com/moogar0880/PyTrakt.git
Download the tarball:
$ curl -OL https://github.com/moogar0880/PyTrakt/tarball/master
Or, download the zipball:
$ curl -OL https://github.com/moogar0880/PyTrakt/zipball/master
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
Release History
2.2.1 (2015-09-16)
Add default values to non-critical dict.get calls (#23)
Updated some documentation.
2.2.0 (2015-08-23)
A TVSeason’s episodes attribute is now dynamically generated from all episodes in that season
sync.rate and sync.add_to_history now properly make valid requests (#21)
Note: sync.add_to_history’s watched_at argument is now expected to be a datetime object, in order to match sync.rate
2.1.0 (2015-07-19)
Add Trakt PIN Authentication (#15)
2.0.3 (2015-07-12)
Fix BASE_URL to point at correct v2 API (#19)
2.0.2 (2015-04-18)
Fix CLIENT_SECRET assignment Bug (#16)
2.0.1 (2015-03-15)
Fixed TVEpisode Scrobbling Bug (#13)
Fixed DEBUG logging messages to properly reflect HTTP Methods
Added a 400 HTTP Response Code Exception type
2.0.0 (2015-03-04)
2.0 Version bump due to incompatible API changes relating to the location of the trakt api_key attribute
Add additional debug logging for API responses
Add tmdb_id to the TVShow.ids attribute
Fixed trakt.init to instruct users on how to create a new OAuth application
Fixed TVSeason.to_json to return accurately scoped season information
Updated documentation on APIv2’s Authentication patterns
1.0.3 (2015-02-28)
Fixed a bug with First Aired Date datetime parsing
1.0.2 (2015-02-17)
Fixes Generator issue detailed in #7
Fixes Python 2x Unicode bug
1.0.1 (2015-02-15)
PyTrakt now utilizes Trakt’s new API 2.0
API Keys can now obtained via the trakt.init function
Note: POSTS have been hit or miss, but get’s all appear to be working
0.3.6 (2015-01-15)
Bug fix for the failure to process JSON API responses
0.3.4 (2014-08-12)
Merged @stampedeboss changes from PR #1
Some small stylistic changes for consistency
0.3.3 (2014-07-04)
trakt.tv.TVShow improvements/changes
Misc bug fixes in trakt.tv
Import enhancements in trakt.movies
Added community module
Fixed/updated documentation
0.3.0 (2014-06-19)
Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file trakt-2.2.1.tar.gz
.
File metadata
- Download URL: trakt-2.2.1.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1843d44aef326836c327c1b2063fe933502816badf2065c12ceb59d314e211ce |
|
MD5 | 74cf0ed76b27022e238004c2666a8e76 |
|
BLAKE2b-256 | f9d9cc4e6ba54222789a60a766bc77c0eaaca2bba6df5761c89245511bdba50a |