ChartsAPI

class minim.api.deezer.ChartsAPI(client: APIClient, /)[source]

Bases: DeezerResourceAPI

Charts API endpoints for the Deezer API.

Important

This class is managed by DeezerAPIClient and should not be instantiated directly.

Parameters:
clientminim.api._shared.APIClient

API client instance used to make HTTP requests.

Methods

get_top_albums

Chart > Albums: Get Deezer catalog information for the top albums on Deezer.

get_top_artists

Chart > Artists: Get Deezer catalog information for the top artists on Deezer.

get_top_playlists

Chart > Playlists: Get Deezer catalog information for the top playlists on Deezer.

get_top_podcasts

Chart > Podcasts: Get Deezer catalog information for the top podcasts on Deezer.

get_top_radios

Radio > Top: Get Deezer catalog information for the top radios on Deezer.

get_top_tracks

Chart > Tracks: Get Deezer catalog information for the top tracks on Deezer.

get_top_albums(*, limit: int | None = None, offset: int | None = None) dict[str, Any][source]

Chart > Albums: Get Deezer catalog information for the top albums on Deezer.

Parameters:
limitint; keyword-only; optional

Maximum number of albums to return.

Minimum value: 1.

API default: 10.

offsetint; keyword-only; optional

Index of the first album to return. Use with limit to get the next batch of albums.

Minimum value: 0.

API default: 0.

Returns:
albumsdict[str, Any]

Page of Deezer metadata for the top albums.

get_top_artists(*, limit: int | None = None, offset: int | None = None) dict[str, Any][source]

Chart > Artists: Get Deezer catalog information for the top artists on Deezer.

Parameters:
limitint; keyword-only; optional

Maximum number of artists to return.

Minimum value: 1.

API default: 10.

offsetint; keyword-only; optional

Index of the first artist to return. Use with limit to get the next batch of artists.

Minimum value: 0.

API default: 0.

Returns:
artistsdict[str, Any]

Page of Deezer metadata for the top artists.

get_top_playlists(*, limit: int | None = None, offset: int | None = None) dict[str, Any][source]

Chart > Playlists: Get Deezer catalog information for the top playlists on Deezer.

Parameters:
limitint; keyword-only; optional

Maximum number of playlists to return.

Minimum value: 1.

API default: 10.

offsetint; keyword-only; optional

Index of the first playlist to return. Use with limit to get the next batch of playlists.

Minimum value: 0.

API default: 0.

Returns:
playlistsdict[str, Any]

Page of Deezer metadata for the top playlists.

get_top_podcasts(*, limit: int | None = None, offset: int | None = None) dict[str, Any][source]

Chart > Podcasts: Get Deezer catalog information for the top podcasts on Deezer.

Parameters:
limitint; keyword-only; optional

Maximum number of podcasts to return.

Minimum value: 1.

API default: 10.

offsetint; keyword-only; optional

Index of the first podcast to return. Use with limit to get the next batch of podcasts.

Minimum value: 0.

API default: 0.

Returns:
podcastsdict[str, Any]

Page of Deezer metadata for the top podcasts.

get_top_radios(*, limit: int | None = None, offset: int | None = None) dict[str, Any][source]

Radio > Top: Get Deezer catalog information for the top radios on Deezer.

Parameters:
limitint; keyword-only; optional

Maximum number of radios to return.

Minimum value: 1.

API default: 25.

offsetint; keyword-only; optional

Index of the first radio to return. Use with limit to get the next batch of radios.

Minimum value: 0.

API default: 0.

Returns:
radiosdict[str, Any]

Page of Deezer metadata for the top radios.

get_top_tracks(*, limit: int | None = None, offset: int | None = None) dict[str, Any][source]

Chart > Tracks: Get Deezer catalog information for the top tracks on Deezer.

Parameters:
limitint; keyword-only; optional

Maximum number of tracks to return.

Minimum value: 1.

API default: 10.

offsetint; keyword-only; optional

Index of the first track to return. Use with limit to get the next batch of tracks.

Minimum value: 0.

API default: 0.

Returns:
tracksdict[str, Any]

Page of Deezer metadata for the top tracks.