Album¶
- class deezer.Album(client, json)¶
To work with an album object.
Check the Deezer documentation for more details about each field.
- id: int¶
- title: str¶
- upc: str¶
- link: str¶
- cover: str¶
- cover_small: str¶
- cover_medium: str¶
- cover_big: str¶
- cover_xl: str¶
- md5_image: str¶
- genre_id: int¶
- label: str¶
- nb_tracks: int¶
- duration: int¶
- fans: int¶
- release_date: dt.date¶
- record_type: str¶
- available: bool¶
- tracklist: str¶
- explicit_lyrics: bool¶
- explicit_content_lyrics: int¶
- explicit_content_cover: int¶
- get_artist()¶
Get the artist of the Album.
- Returns
the
Artist
of the Album- Return type
- get_tracks(**kwargs)¶
Get a list of album’s tracks.
- Returns
a
PaginatedList
ofTrack
.- Return type
- rate(note)¶
Rate the album with the given note.
- Parameters
note (int) – rating to give.
- Returns
boolean, whether the album was rated
- Return type
bool