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
share: str
cover: str
cover_small: str
cover_medium: str
cover_big: str
cover_xl: str
md5_image: str
genre_id: int
genres: list[Genre]
label: str
nb_tracks: int
duration: int
fans: int
release_date: dt.date
record_type: str
available: bool
alternative: Album
tracklist: str
explicit_lyrics: bool
explicit_content_lyrics: int
explicit_content_cover: int
contributors: list[Artist]
artist: Artist
tracks: list[Track]
get_artist()

Get the artist of the Album.

Returns

the Artist of the Album

Return type

deezer.resources.artist.Artist

get_tracks(**kwargs)

Get a list of album’s tracks.

Returns

a PaginatedList of Track.

Return type

PaginatedList[Track]

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