Episode¶
- class deezer.Episode(client, json)¶
To work with Deezer episode objects.
Check the Deezer documentation for more details about each field.
- id: int¶
- title: str¶
- description: str¶
- available: bool¶
- release_date: dt.datetime¶
- duration: int¶
- link: str¶
- picture: str¶
- picture_small: str¶
- picture_medium: str¶
- picture_big: str¶
- picture_xl: str¶
- add_bookmark(offset)¶
Sets a bookmark on the episode.
- Parameters:
offset (int) – The offset where the bookmark is set, must be between 0 and 100.
- Returns:
a boolean that tells if the operation was successful
- Return type:
bool
- remove_bookmark()¶
Removes the bookmark on the episode.
- Returns:
a boolean that tells if the operation was successful
- Return type:
bool