{"repo":"dbr/tvdb_api","free":true,"listed":false,"github":"https://github.com/dbr/tvdb_api","clone":"git clone https://github.com/dbr/tvdb_api.git","description":"Simple to use interface to TheTVDB.com API in Python","language":"Python","stars":340,"topics":["tvdb","api-wrapper"],"license":"Unlicense","category":"api-integrations-sdks","readme_excerpt":"tvdb api [![PyPI][pypi-img]][pypi-link] [![Build Status][travis-img]][travis-link] [![codecov][coverage-img]][coverage-link] tvdb api is an easy to use interface to [thetvdb.com][tvdb] It supports Python 2.7, and 3.5 onwards tvnamer has moved to a separate repository: [github.com/dbr/tvnamer][tvnamer] - it is a utility which uses tvdb api to rename files from some.show.s01e03.blah.abc.avi to Some Show - [01x03] - The Episode Name.avi (which works by getting the episode name from tvdb api ) [tvdb]: http://thetvdb.com [tvnamer]: http://github.com/dbr/tvnamer [travis-link]: https://travis-ci.com/dbr/tvdb api [travis-img]: https://travis-ci.com/dbr/tvdb api.svg?branch=master [pypi-link]: https://pypi.org/project/tvdb-api/ [pypi-img]: https://img.shields.io/pypi/v/tvdb api [coverage-link]: https://codecov.io/gh/dbr/tvdb api [coverage-img]: https://codecov.io/gh/dbr/tvdb api/branch/master/graph/badge.svg To install You can easily install tvdb api via pip pip install --upgrade tvdb api You may need to use sudo, depending on your setup: sudo pip install --upgrade tvdb api Basic usage First initialise an instance of the Tvdb class with your API key: import tvdb api t = tvdb api.Tvdb() Note you must specify the apikey argument here, for example: t = Tvdb(apikey=\"ENTER YOUR API KEY HERE\") # doctest:+SKIP See https://thetvdb.com/api-information to register a key. Then to use the API: episode = t['My Name Is Earl'][1][3] # get season 1, episode 3 of show print episode['episodename'] # Pri","default_branch":null,"files":null,"tree":[],"storefront":"/r/dbr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dbr/tvdb_api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}