flexget.components.imdb.api module#

class flexget.components.imdb.api.IMDBMovieSearch(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

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

Get a list of IMDB search result by name or ID.

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"]) as route and add_url_rule by 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'}#