Skip to main content

Python interface to trakt.tv API

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-trakt-1.0.tar.gz (5.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page