PrivateDynamicAPI

class minim.api.qobuz.PrivateDynamicAPI(client: APIClient, /)[source]

Bases: PrivateQobuzResourceAPI

Dynamic Tracks API endpoints for the private Qobuz API.

Important

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

Parameters:
clientminim.api._shared.APIClient

API client instance used to make HTTP requests.

Methods

get_personalized_playlist_tracks

Get Qobuz catalog information for tracks in a playlist curated for the current user.

get_personalized_playlists

Get Qobuz catalog information for playlists curated for the current user.

get_track_recommendations

Get track recommendations based on seed tracks.

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

Get Qobuz catalog information for tracks in a playlist curated for the current user.

User authentication

User authentication

Access and manage your library.

Parameters:
playlist_typestr; positional-only

Type of the curated playlist.

See also

get_personalized_playlists() – Get types of curated playlists.

Example: "weekly".

limitint; keyword-only; optional

Maximum number of items to return. Only applicable when playlist_type is not "weekly".

Valid range: 1 to 500.

API default: 50.

offsetint; keyword-only; optional

Index of the first item to return. Use with limit to get the next batch of items. Only applicable when playlist_type is not "weekly".

Minimum value: 0.

API default: 0.

Returns:
tracksdict[str, Any]

Page of Qobuz metadata for tracks in the curated playlist.

get_personalized_playlists() list[dict[str, Any]][source]

Get Qobuz catalog information for playlists curated for the current user.

User authentication

User authentication

Access and manage your library.

Returns:
playlistslist[dict[str, Any]]

Qobuz metadata for the curated playlists.

get_track_recommendations(seed_track_ids: int | str | Collection[int | str], /, exclude_track_ids: int | str | Collection[int | str] | None = None, *, limit: int | None = None) dict[str, Any][source]

Get track recommendations based on seed tracks.

User authentication

User authentication

Access the POST /dynamic/suggest endpoint.

Parameters:
seed_track_idsint | str | Collection[int | str]; positional-only

Qobuz IDs of seed tracks.

Examples: 23929516, "344521217", "23929516,344521217", [23929516, "344521217"].

exclude_track_idsint | str | Collection[int | str]; optional

Qobuz IDs of tracks to exclude.

Examples: 256316240, "53859680", "256316240,53859680", [256316240, "53859680"].

limitint; keyword-only; optional

Maximum number of items to return.

Valid range: 1 to 500.

API default: 50.

Returns:
recommendationsdict[str, Any]

Qobuz metadata for the tracks recommended based on the seed tracks.