Media¶
-
class
trakt.objects.media.Media(client, keys=None, index=None)¶ Bases:
object-
get_key(service)¶
-
images= None¶ Type: dictImages (or None), defined as:
{ <type>: { <size>: <url> } }
Type Size Dimensions bannerfull1000x185 (movie/show), 758x140 (show) clearartfull1000x562 fanartfull1920x1080 (typical), 1280x720 medium1280x720 thumb853x480 logofull800x310 posterfull1000x1500 medium600x900 thumb300x450 thumbfull1000x562 (movie), 500x281 (show)
-
keys= None¶ Type: listoftupleKeys (for imdb, tvdb, etc..), defined as:
..code-block:
[ (<service>, <id>) ]
-
pk¶ Retrieve the primary key (unique identifier for the item).
- Provides the following identifiers (by media type):
- movie: imdb
- show: tvdb
- season: tvdb
- episode: tvdb
- custom_list: trakt
- person: tmdb
Returns: (<service>, <value>)orNoneif no primary key is availableReturn type: tuple
-