Skip to main content

A python client for TVDB rest API

Project description

tvdb_api_client: an unofficial API for the TVDB

build lint tests license codecov readthedocs pypi downloads build automation: yam Lint: ruff

tvdb_api_client is an unofficial API for the TVDB.

In a nutshell

Installation

uv is an extremely fast Python package installer. You can use it to install tvdb_api_client and try it out:

$ uv pip install tvdb_api_client

Usage

Initialise the client and fetch data:

from tvdb_api_client import TheTVDBClient

client = TheTVDBClient(api_key="your-api-key")

# Get a TV series by its TVDB id
series = client.get_series_by_id(81189)  # Breaking Bad

# Get all episodes for a TV series
episodes = client.get_episodes_by_series(81189)

Once the client has been initialised, you can use it to:

  • get a TV series by its TVDB id
  • get all episodes for a TV series by its TVDB id
  • access raw API responses for custom processing

Links

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

tvdb_api_client-0.8.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tvdb_api_client-0.8.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file tvdb_api_client-0.8.0.tar.gz.

File metadata

  • Download URL: tvdb_api_client-0.8.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tvdb_api_client-0.8.0.tar.gz
Algorithm Hash digest
SHA256 a98f7a68786cba4fced77b03605903f82a56f5feb5c18396b4e506a1cb27e8ab
MD5 4f58da89cb1516ae51f0470e3339172a
BLAKE2b-256 2306804bf1385a48f209a4e98ec25a5fe941e906f7e261373c1779260f1febd6

See more details on using hashes here.

File details

Details for the file tvdb_api_client-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: tvdb_api_client-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tvdb_api_client-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f7678f4d87a5fe21306d8b64e3e461230aabf094ba34cd80703c60ff3a69a1e
MD5 6d32726c29a7fd099aa2b58448981d3c
BLAKE2b-256 874984457fa9511e415ce319371cfd1cca9b8024b85308829a2e21edb07815a2

See more details on using hashes here.

Supported by

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