flexget.components.imdb.api module#
- class flexget.components.imdb.api.IMDBMovieSearch(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'imdb_imdb_movie_search'#
- methods: ClassVar[Collection[str] | None] = {'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flexget.components.imdb.api.ObjectsContainer[source]#
Bases:
object- movie_object = {'additionalProperties': False, 'properties': {'imdb_id': {'type': 'string'}, 'match': {'type': 'number'}, 'name': {'type': 'string'}, 'thumbnail': {'type': 'string'}, 'url': {'type': 'string'}, 'year': {'type': 'number'}}, 'required': ['imdb_id', 'match', 'name', 'url', 'year'], 'type': 'object'}#
- return_object = {'items': {'additionalProperties': False, 'properties': {'imdb_id': {'type': 'string'}, 'match': {'type': 'number'}, 'name': {'type': 'string'}, 'thumbnail': {'type': 'string'}, 'url': {'type': 'string'}, 'year': {'type': 'number'}}, 'required': ['imdb_id', 'match', 'name', 'url', 'year'], 'type': 'object'}, 'type': 'array'}#