ProvidersAPI¶
- class minim.api.tidal.ProvidersAPI(client: APIClient, /)[source]¶
Bases:
TIDALResourceAPIProviders API endpoints for the TIDAL API.
Important
This class is managed by
TIDALAPIClientand should not be instantiated directly.- Parameters:
- clientminim.api._shared.APIClient
API client instance used to make HTTP requests.
Methods
Providers > Get Single Provider: Get TIDAL catalog information for a provider․ Providers > Get Multiple Providers: Get TIDAL catalog information for multiple providers.
- get_providers(provider_ids: int | str | Collection[int | str], /) dict[str, Any][source]¶
Providers > Get Single Provider: Get TIDAL catalog information for a provider․ Providers > Get Multiple Providers: Get TIDAL catalog information for multiple providers.
- Parameters:
- provider_idsint, str, or Collection[int | str]; positional-only
TIDAL IDs of the providers.
Examples:
771,"772",[771, "772"].
- Returns:
- providersdict[str, Any]
TIDAL metadata for the providers.
Sample responses
{ "data": { "attributes": { "name": <str> }, "id": <str>, "type": "providers" }, "links": { "self": <str> } }
{ "data": [ { "attributes": { "name": <str> }, "id": <str>, "type": "providers" } ], "links": { "self": <str> } }