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 details)

Uploaded Source

File details

Details for the file trakt_aiohttp-1.0.1.tar.gz.

File metadata

File hashes

Hashes for trakt_aiohttp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8401664b2321022f274cf2e189f98d6a3e5af564db60058d69ec48cfae9d66ad
MD5 7efa201101789698257b0eb5aca7f3e6
BLAKE2b-256 34570a62b2a1bdd54e7d687b6323286b148d7564490007ab9a91f56dfe153156

See more details on using hashes here.

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