Python client for The TVDB REST API
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Johann Schmitz dcac5bdd37
Fix travis build
tests Respect timezone when converting datetime objects to epoch 3年前
tvdbrest Respect timezone when converting datetime objects to epoch 3年前
.gitignore Implemented first api calls 3年前
.travis.yml Drop pypy 3年前
Jenkinsfile Update Jenkinsfile 2年前
LICENSE.txt Initial commit 3年前
Makefile Fix travis build 2年前 Add badges to 3年前
requirements.txt Implemented first api calls 3年前
requirements_dev.txt Update requirements_dev and Makefile 2年前 Add 3年前 Add Jenkinsfile and update 2年前


Build Status Coverage Status

tvdb-rest is a client implementation of the TVDB REST API. This library does not support the “old” XML api!

tvdb-rest supports Python 3.4+. Python 2.7 may work, but isn't supported.


To use the REST API, you need an TVDB API key. See on how to obtain one.

from tvdbrest.client import TVDB
api = TVDB("myusername", "myuserkey", "myapikey")

for language in api.languages():

# search for series
search_results ='The Simpsons')
for series in search_results:

# fetch series by id
simpsons = api.series(71663)

# access actors of series object
for actor in simpsons.actors():
    print("%s as %s" % (actor, ', '.join(actor.role.split('|'))))

# list all episodes for series (pagination handled automatically)
for episode in simpsons.episodes():