Skip to main content

Trakt.tv python3.5+ library

Project description

https://img.shields.io/pypi/trakt_aiohttp.svg https://img.shields.io/travis/XayOn/trakt_aiohttp.svg

This project covers a basic python3 Trakt API with device auth using aiohttp.

To use it, have a look at __init__.py’s Trakt class.

async def foo():
    trakt = Trakt(CID, CSECRET)
    watchlist = await trakt.watchlist()
    calendar_mine = await trakt.calendars_shows('my', 'new',
        '2015-10-20', 7)

Have a look at the Trakt API docs at http://docs.trakt.apiary.io/#reference

Features

  • Unit tests using mockup apiary server

  • Aiohttp

  • Python3.5 style coroutines

  • Implemented methods: - Calendar show query - Calendar movie query - Checkin API - Genre listing - Translations API - Movies listing by sorting - Shows listing by sorting - Seasons and episodes listing - Single episode info

TODO

  • Proper narrative documentation

  • Search API

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

trakt_aiohttp-1.0.1.tar.gz (6.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page