flexget.components.trakt.api module#

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

Bases: object

actor_object = {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'biography': {'type': ['string', 'null']}, 'birthday': {'type': 'string'}, 'death': {'type': ['string', 'null']}, 'homepage': {'type': 'string'}, 'imdb_id': {'type': 'string'}, 'name': {'type': 'string'}, 'tmdb_id': {'type': 'integer'}, 'trakt_id': {'type': 'integer'}, 'trakt_slug': {'type': 'string'}}, 'required': ['imdb_id', 'name', 'tmdb_id', 'trakt_id', 'trakt_slug', 'birthday', 'biography', 'homepage', 'death'], 'type': 'object'}}, 'type': 'object'}#
base_return_object = {'additionalProperties': False, 'properties': {'actors': {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'biography': {'type': ['string', 'null']}, 'birthday': {'type': 'string'}, 'death': {'type': ['string', 'null']}, 'homepage': {'type': 'string'}, 'imdb_id': {'type': 'string'}, 'name': {'type': 'string'}, 'tmdb_id': {'type': 'integer'}, 'trakt_id': {'type': 'integer'}, 'trakt_slug': {'type': 'string'}}, 'required': ['imdb_id', 'name', 'tmdb_id', 'trakt_id', 'trakt_slug', 'birthday', 'biography', 'homepage', 'death'], 'type': 'object'}}, 'type': 'object'}, 'cached_at': {'format': 'date-time', 'type': 'string'}, 'genres': {'items': {'type': 'string'}, 'type': 'array'}, 'homepage': {'type': ['string', 'null']}, 'id': {'type': 'integer'}, 'imdb_id': {'type': ['string', 'null']}, 'language': {'type': ['string', 'null']}, 'overview': {'type': ['string', 'null']}, 'rating': {'type': ['number', 'null']}, 'runtime': {'type': ['integer', 'null']}, 'slug': {'type': ['string', 'null']}, 'title': {'type': 'string'}, 'tmdb_id': {'type': ['integer', 'null']}, 'translations': {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'overview': {'type': 'string'}, 'tagline': {'type': 'string'}, 'title': {'type': 'string'}}, 'required': ['overview', 'tagline', 'title'], 'type': 'object'}}, 'type': 'object'}, 'updated_at': {'format': 'date-time', 'type': 'string'}, 'votes': {'type': ['integer', 'null']}, 'year': {'type': ['integer', 'null']}}, 'required': ['cached_at', 'genres', 'id', 'overview', 'runtime', 'rating', 'votes', 'language', 'updated_at', 'title', 'year', 'homepage', 'slug', 'tmdb_id', 'imdb_id'], 'type': 'object'}#
movie_return_object = {'additionalProperties': False, 'properties': {'actors': {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'biography': {'type': ['string', 'null']}, 'birthday': {'type': 'string'}, 'death': {'type': ['string', 'null']}, 'homepage': {'type': 'string'}, 'imdb_id': {'type': 'string'}, 'name': {'type': 'string'}, 'tmdb_id': {'type': 'integer'}, 'trakt_id': {'type': 'integer'}, 'trakt_slug': {'type': 'string'}}, 'required': ['imdb_id', 'name', 'tmdb_id', 'trakt_id', 'trakt_slug', 'birthday', 'biography', 'homepage', 'death'], 'type': 'object'}}, 'type': 'object'}, 'cached_at': {'format': 'date-time', 'type': 'string'}, 'genres': {'items': {'type': 'string'}, 'type': 'array'}, 'homepage': {'type': ['string', 'null']}, 'id': {'type': 'integer'}, 'imdb_id': {'type': ['string', 'null']}, 'language': {'type': ['string', 'null']}, 'overview': {'type': ['string', 'null']}, 'rating': {'type': ['number', 'null']}, 'released': {'type': 'string'}, 'runtime': {'type': ['integer', 'null']}, 'slug': {'type': ['string', 'null']}, 'tagline': {'type': 'string'}, 'title': {'type': 'string'}, 'tmdb_id': {'type': ['integer', 'null']}, 'trailer': {'type': ['string', 'null']}, 'translations': {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'overview': {'type': 'string'}, 'tagline': {'type': 'string'}, 'title': {'type': 'string'}}, 'required': ['overview', 'tagline', 'title'], 'type': 'object'}}, 'type': 'object'}, 'updated_at': {'format': 'date-time', 'type': 'string'}, 'votes': {'type': ['integer', 'null']}, 'year': {'type': ['integer', 'null']}}, 'required': ['cached_at', 'genres', 'id', 'overview', 'runtime', 'rating', 'votes', 'language', 'updated_at', 'title', 'year', 'homepage', 'slug', 'tmdb_id', 'imdb_id', 'tagline', 'released', 'trailer'], 'type': 'object'}#
series_return_object = {'additionalProperties': False, 'properties': {'actors': {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'biography': {'type': ['string', 'null']}, 'birthday': {'type': 'string'}, 'death': {'type': ['string', 'null']}, 'homepage': {'type': 'string'}, 'imdb_id': {'type': 'string'}, 'name': {'type': 'string'}, 'tmdb_id': {'type': 'integer'}, 'trakt_id': {'type': 'integer'}, 'trakt_slug': {'type': 'string'}}, 'required': ['imdb_id', 'name', 'tmdb_id', 'trakt_id', 'trakt_slug', 'birthday', 'biography', 'homepage', 'death'], 'type': 'object'}}, 'type': 'object'}, 'air_day': {'type': ['string', 'null']}, 'air_time': {'type': ['string', 'null']}, 'cached_at': {'format': 'date-time', 'type': 'string'}, 'certification': {'type': ['string', 'null']}, 'country': {'type': ['string', 'null']}, 'first_aired': {'format': 'date-time', 'type': ['string', 'null']}, 'genres': {'items': {'type': 'string'}, 'type': 'array'}, 'homepage': {'type': ['string', 'null']}, 'id': {'type': 'integer'}, 'imdb_id': {'type': ['string', 'null']}, 'language': {'type': ['string', 'null']}, 'network': {'type': ['string', 'null']}, 'number_of_aired_episodes': {'type': ['integer', 'null']}, 'overview': {'type': ['string', 'null']}, 'rating': {'type': ['number', 'null']}, 'runtime': {'type': ['integer', 'null']}, 'slug': {'type': ['string', 'null']}, 'status': {'type': 'string'}, 'timezone': {'type': ['string', 'null']}, 'title': {'type': 'string'}, 'tmdb_id': {'type': ['integer', 'null']}, 'translations': {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'overview': {'type': 'string'}, 'tagline': {'type': 'string'}, 'title': {'type': 'string'}}, 'required': ['overview', 'tagline', 'title'], 'type': 'object'}}, 'type': 'object'}, 'tvdb_id': {'type': ['integer', 'null']}, 'tvrage_id': {'type': ['integer', 'null']}, 'updated_at': {'format': 'date-time', 'type': 'string'}, 'votes': {'type': ['integer', 'null']}, 'year': {'type': ['integer', 'null']}}, 'required': ['cached_at', 'genres', 'id', 'overview', 'runtime', 'rating', 'votes', 'language', 'updated_at', 'title', 'year', 'homepage', 'slug', 'tmdb_id', 'imdb_id', 'tvdb_id', 'tvrage_id', 'first_aired', 'air_day', 'air_time', 'certification', 'network', 'country', 'status', 'timezone', 'number_of_aired_episodes'], 'type': 'object'}#
translation_object = {'patternProperties': {'^[/d]$': {'additionalProperties': False, 'properties': {'overview': {'type': 'string'}, 'tagline': {'type': 'string'}, 'title': {'type': 'string'}}, 'required': ['overview', 'tagline', 'title'], 'type': 'object'}}, 'type': 'object'}#
class flexget.components.trakt.api.TraktMovieSearchApi(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Trakt movie lookup.

mediatypes()#
endpoint = 'trakt_trakt_movie_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.trakt.api.TraktMovieWithTitleSearchApi(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(title, session=None)[source]#
mediatypes()#
endpoint = 'trakt_trakt_movie_with_title_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.trakt.api.TraktSeriesSearchApi(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Trakt series lookup.

mediatypes()#
endpoint = 'trakt_trakt_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.

class flexget.components.trakt.api.TraktSeriesWithTitleSearchApi(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(title, session=None)[source]#
mediatypes()#
endpoint = 'trakt_trakt_series_with_title_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.