Chart

class deezer.Chart(client, json)

To work with Deezer chart objects.

Check the Deezer documentation for more details about each field.

tracks: list[Track]
albums: list[Album]
artists: list[Artist]
playlists: list[Playlist]
podcasts: list[Podcast]
get_tracks(**kwargs)

Return the chart for tracks.

Returns:

a PaginatedList

Return type:

PaginatedList[Track]

of Track instances

get_albums(**kwargs)

Return the chart for albums.

Returns:

a PaginatedList

Return type:

PaginatedList[Album]

of Album instances

get_artists(**kwargs)

Return the chart for artists.

Returns:

a PaginatedList

Return type:

PaginatedList[Artist]

of Artist instances

get_playlists(**kwargs)

Return the chart for playlists.

Returns:

a PaginatedList

Return type:

PaginatedList[Playlist]

of Playlist instances

get_podcasts(**kwargs)

Return the chart for podcasts.

Returns:

a PaginatedList

Return type:

PaginatedList[Podcast]

of Podcast instances