flexget.components.thetvdb.api module#

class flexget.components.thetvdb.api.ObjectsContainer[source]#

Bases: object

episode_object = {'additionalProperties': False, 'properties': {'absolute_number': {'type': ['integer', 'null']}, 'director': {'type': 'string'}, 'episode_name': {'type': 'string'}, 'episode_number': {'type': 'integer'}, 'expired': {'type': 'boolean'}, 'first_aired': {'type': 'string'}, 'id': {'type': 'integer'}, 'image': {'type': ['string', 'null']}, 'last_update': {'type': 'integer'}, 'overview': {'type': 'string'}, 'rating': {'type': 'number'}, 'season_number': {'type': 'integer'}, 'series_id': {'type': 'integer'}}, 'required': ['id', 'expired', 'last_update', 'season_number', 'episode_number', 'absolute_number', 'episode_name', 'overview', 'director', 'rating', 'image', 'first_aired', 'series_id'], 'type': 'object'}#
search_result_object = {'additionalProperties': False, 'properties': {'aliases': {'items': {'type': 'string'}, 'type': 'array'}, 'banner': {'type': ['string', 'null']}, 'first_aired': {'format': 'date-time', 'type': 'string'}, 'network': {'type': 'string'}, 'overview': {'type': ['string', 'null']}, 'series_name': {'type': 'string'}, 'status': {'type': 'string'}, 'tvdb_id': {'type': 'integer'}}, 'required': ['aliases', 'first_aired', 'banner', 'network', 'series_name', 'status', 'overview', 'tvdb_id'], 'type': 'object'}#
search_results_object = {'items': {'additionalProperties': False, 'properties': {'aliases': {'items': {'type': 'string'}, 'type': 'array'}, 'banner': {'type': ['string', 'null']}, 'first_aired': {'format': 'date-time', 'type': 'string'}, 'network': {'type': 'string'}, 'overview': {'type': ['string', 'null']}, 'series_name': {'type': 'string'}, 'status': {'type': 'string'}, 'tvdb_id': {'type': 'integer'}}, 'required': ['aliases', 'first_aired', 'banner', 'network', 'series_name', 'status', 'overview', 'tvdb_id'], 'type': 'object'}, 'type': 'array'}#
tvdb_series_object = {'additionalProperties': False, 'properties': {'actors': {'items': {'type': 'string'}, 'type': 'array'}, 'airs_dayofweek': {'type': 'string'}, 'airs_time': {'type': 'string'}, 'aliases': {'items': {'type': 'string'}, 'type': 'array'}, 'banner': {'type': 'string'}, 'content_rating': {'type': 'string'}, 'expired': {'type': 'boolean'}, 'first_aired': {'type': 'string'}, 'genres': {'items': {'type': 'string'}, 'type': 'array'}, 'imdb_id': {'type': 'string'}, 'language': {'type': 'string'}, 'last_updated': {'format': 'date-time', 'type': 'string'}, 'network': {'type': 'string'}, 'overview': {'type': 'string'}, 'posters': {'items': {'type': 'string'}, 'type': 'array'}, 'rating': {'type': 'number'}, 'runtime': {'type': 'integer'}, 'series_name': {'type': 'string'}, 'status': {'type': 'string'}, 'tvdb_id': {'type': 'integer'}, 'zap2it_id': {'type': 'string'}}, 'required': ['tvdb_id', 'last_updated', 'expired', 'series_name', 'rating', 'status', 'runtime', 'airs_time', 'airs_dayofweek', 'content_rating', 'network', 'overview', 'imdb_id', 'zap2it_id', 'banner', 'first_aired', 'aliases', 'posters', 'genres', 'language'], 'type': 'object'}#
class flexget.components.thetvdb.api.TVDBEpisodeSearchAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(tvdb_id, session=None)[source]#

TheTVDB episode lookup.

mediatypes()#
endpoint = 'tvdb_tvdb_episode_search_api'#
methods: ClassVar[Collection[str] | None] = {'GET'}#

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class flexget.components.thetvdb.api.TVDBSeriesLookupAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(title, session=None)[source]#

TheTVDB series lookup.

mediatypes()#
endpoint = 'tvdb_tvdb_series_lookup_api'#
methods: ClassVar[Collection[str] | None] = {'GET'}#

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class flexget.components.thetvdb.api.TVDBSeriesSearchAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

TheTVDB series search.

mediatypes()#
endpoint = 'tvdb_tvdb_series_search_api'#
methods: ClassVar[Collection[str] | None] = {'GET'}#

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.