Skip to main content

theTVDB API Client (json)

Project description

https://readthedocs.org/projects/tvdbapi-client/badge/?version=latest https://travis-ci.org/shad7/tvdbapi_client.svg?branch=develop https://coveralls.io/repos/shad7/tvdbapi_client/badge.svg?branch=develop https://requires.io/github/shad7/tvdbapi_client/requirements.svg?branch=develop

Python client for theTVDB API (v1.2+) REST endpoints in json format.

TVDB Api Client Documentation

Features

  • provide client for interacting with thetvdb api

Usage

>>> import tvdbapi_client
>>> client = tvdbapi_client.get_client(apikey='abc123', username='johndoe', userpass='mypass')
>>> client.search_series(name='the big bang theory')
[{'status': 'Continuing', 'network': 'CBS', 'overview': "What happens when hyperintelligent roommates Sheldon and Leonard meet Penny, a free-spirited beauty moving in next door, and realize they know next to nothing about life outside of the lab. Rounding out the crew are the smarmy Wolowitz, who thinks he's as sexy as he is brainy, and Koothrappali, who suffers from an inability to speak in the presence of a woman.", 'seriesName': 'The Big Bang Theory', 'firstAired': '2007-09-24', 'poster': 'graphical/80379-g23.jpg', 'id': 80379, 'aliases': ['Big Bang']}]
>>> from tvdbapi_client import api
>>> client = api.TVDBClient(apikey='abc123', username='johndoe', userpass='mypass')
>>> client.search_series(name='the big bang theory')
[{'status': 'Continuing', 'network': 'CBS', 'overview': "What happens when hyperintelligent roommates Sheldon and Leonard meet Penny, a free-spirited beauty moving in next door, and realize they know next to nothing about life outside of the lab. Rounding out the crew are the smarmy Wolowitz, who thinks he's as sexy as he is brainy, and Koothrappali, who suffers from an inability to speak in the presence of a woman.", 'seriesName': 'The Big Bang Theory', 'firstAired': '2007-09-24', 'poster': 'graphical/80379-g23.jpg', 'id': 80379, 'aliases': ['Big Bang']}]

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

tvdbapi_client-0.1.5.tar.gz (20.3 kB view hashes)

Uploaded Source

Built Distributions

tvdbapi_client-0.1.5-py2.py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 2 Python 3

tvdbapi_client-0.1.5-py2.7.egg (30.3 kB view hashes)

Uploaded Source

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