upsies.utils.webdbs.tmdb
API for themoviedb.org
Classes
- class upsies.utils.webdbs.tmdb.TmdbApi(config=None)[source]
Bases:
WebDbApiBaseAPI for themoviedb.org
- async search(query)[source]
Search DB
- Parameters:
query –
Queryinstance- Returns:
List of
SearchResultinstances
- async poster_url(id, season=None)[source]
Return URL of poster image or empty string
- Parameters:
season –
Return poster for specific season
If this is not supported by the concrete implementation, default to the URL for the main poster.
- async type(id)[source]
Return
ReleaseType