flexget.components.tmdb.api module#
- class flexget.components.tmdb.api.ObjectsContainer[source]#
Bases:
object- movie_object = {'additionalProperties': False, 'properties': {'adult': {'type': 'boolean'}, 'alternative_name': {'type': ['string', 'null']}, 'backdrops': {'items': {'additionalProperties': False, 'properties': {'aspect_ratio': {'type': 'number'}, 'file_path': {'type': 'string'}, 'height': {'type': 'integer'}, 'id': {'type': ['integer', 'null']}, 'language_code': {'type': ['string', 'null']}, 'movie_id': {'type': ['integer', 'null']}, 'urls': {'type': 'object'}, 'vote_average': {'type': 'number'}, 'vote_count': {'type': 'integer'}, 'width': {'type': 'integer'}}, 'required': ['id', 'movie_id', 'urls', 'file_path', 'width', 'height', 'aspect_ratio', 'vote_average', 'vote_count', 'language_code'], 'type': 'object'}, 'type': 'array'}, 'budget': {'type': ['integer', 'null']}, 'genres': {'items': {'type': 'string'}, 'type': 'array'}, 'homepage': {'format': 'uri', 'type': ['string', 'null']}, 'id': {'type': 'integer'}, 'imdb_id': {'type': 'string'}, 'language': {'type': 'string'}, 'lookup_language': {'type': ['string', 'null']}, 'name': {'type': 'string'}, 'original_name': {'type': ['string', 'null']}, 'overview': {'type': 'string'}, 'popularity': {'type': ['number', 'null']}, 'posters': {'items': {'additionalProperties': False, 'properties': {'aspect_ratio': {'type': 'number'}, 'file_path': {'type': 'string'}, 'height': {'type': 'integer'}, 'id': {'type': ['integer', 'null']}, 'language_code': {'type': ['string', 'null']}, 'movie_id': {'type': ['integer', 'null']}, 'urls': {'type': 'object'}, 'vote_average': {'type': 'number'}, 'vote_count': {'type': 'integer'}, 'width': {'type': 'integer'}}, 'required': ['id', 'movie_id', 'urls', 'file_path', 'width', 'height', 'aspect_ratio', 'vote_average', 'vote_count', 'language_code'], 'type': 'object'}, 'type': 'array'}, 'rating': {'type': ['number', 'null']}, 'revenue': {'type': ['integer', 'null']}, 'runtime': {'type': 'integer'}, 'tagline': {'type': 'string'}, 'updated': {'format': 'date-time', 'type': 'string'}, 'votes': {'type': ['integer', 'null']}, 'year': {'type': 'integer'}}, 'required': ['id', 'name', 'year', 'original_name', 'alternative_name', 'runtime', 'language', 'overview', 'tagline', 'rating', 'votes', 'popularity', 'adult', 'budget', 'revenue', 'homepage', 'genres', 'updated'], 'type': 'object'}#
- poster_object = {'additionalProperties': False, 'properties': {'aspect_ratio': {'type': 'number'}, 'file_path': {'type': 'string'}, 'height': {'type': 'integer'}, 'id': {'type': ['integer', 'null']}, 'language_code': {'type': ['string', 'null']}, 'movie_id': {'type': ['integer', 'null']}, 'urls': {'type': 'object'}, 'vote_average': {'type': 'number'}, 'vote_count': {'type': 'integer'}, 'width': {'type': 'integer'}}, 'required': ['id', 'movie_id', 'urls', 'file_path', 'width', 'height', 'aspect_ratio', 'vote_average', 'vote_count', 'language_code'], 'type': 'object'}#
- class flexget.components.tmdb.api.TMDBMoviesAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'tmdb_tmdb_movies_api'#
- methods: ClassVar[Collection[str] | None] = {'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.