python-trakt

Python interface to trakt.tv API


Keywords
trakt, tv, API, client
License
Apache-2.0
Install
pip install python-trakt==1.0

Documentation

Python interface to trakt.tv API

https://api.travis-ci.org/z4r/python-trakt.png?branch=master https://coveralls.io/repos/z4r/python-trakt/badge.png?branch=master https://pypip.in/v/python-trakt/badge.png https://pypip.in/d/python-trakt/badge.png

This package provides a module to interface with the trakt.tv API.

Installation

Using pip:

$ pip install git+https://github.com/z4r/python-trakt

trakt API usage

import trakt.tv
trakt.tv.setup(apikey=<YOUR_APIKEY>)
trakt.tv.search.shows('walking dead')

You can perform auth request

import trakt.tv
trakt.tv.setup(apikey=<YOUR_APIKEY>, username=<USER>, password=<PWD>)
trakt.tv.show.episode('the-walking-dead', 1, 1)

License

This software is licensed under the Apache License 2.0. See the LICENSE file in the top distribution directory for the full license text.

References