Skip to main content

A wrapper around the TVDB API.

Project description

libtvdb

A wrapper around the TVDB API.

Examples:

Searching for shows:

import libtvdb
client = libtvdb.TVDBClient(api_key="...", user_key="...", user_name="...")
shows = client.search_show("Doctor Who")

for show in shows:
    print(show.name)

Advanced

You can set libtvdb_api_key, libtvdb_user_key and libtvdb_user_name in your OS X keychain if you don't want to supply these every time. If any of the values supplied to the TVDBClient constructor are None, it will look into your keychain and load the appropriate value. If it can't find them, it will throw an exception.

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

libtvdb-0.3.0.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

libtvdb-0.3.0-py3-none-any.whl (26.0 kB view hashes)

Uploaded Python 3

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