PrivatePurchasesAPI

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

Bases: PrivateQobuzResourceAPI

Purchases 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_my_purchased_item_ids

Get Qobuz IDs of albums and tracks purchased by the current user.

get_my_purchases

Get Qobuz catalog information for albums and tracks purchased by the current user.

get_my_purchased_item_ids() dict[str, Any][source]

Get Qobuz IDs of albums and tracks purchased by the current user.

User authentication

User authentication

Access personal collection and favorites.

Returns:
item_idsdict[str, Any]

Qobuz IDs of the current user’s purchased albums and tracks.

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

Get Qobuz catalog information for albums and tracks purchased by the current user.

User authentication

User authentication

Access personal collection and favorites.

Parameters:
limitint; keyword-only; optional

Maximum number of items to return.

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.

Minimum value: 0.

API default: 0.

Returns:
purchasesdict[str, Any]

Page of Qobuz metadata for the current user’s purchased albums and tracks.