find methods module¶
-
asynctmdb.methods.find.
by_id
(external_id: str, *, api_base_url: str = 'https://api.themoviedb.org/3', api_key: str, language: str = None, external_source: str, session: aiohttp.client.ClientSession) → typing.Dict[str, typing.Any][source]¶ Search for objects by an external id (for instance, an IMDb ID).
This method will search all objects (movies, TV shows and people) and return the results in a single response.
The supported external sources for each object are as follows.
Movies TV Shows TV Seasons TV Episodes People IMDb ID ✓ ✓ ✗ ✓ ✓ Freebase MID ✗ ✓ ✓ ✓ ✓ Freebase ID ✗ ✓ ✓ ✓ ✓ TVDB ID ✗ ✓ ✓ ✓ ✗ TVRage ID ✗ ✓ ✓ ✓ ✓ More info at TMDb docs.