PrivateFeedAPI¶
- class minim.api.tidal.PrivateFeedAPI(client: APIClient, /)[source]¶
Bases:
PrivateTIDALResourceAPIFeed API endpoints for the private TIDAL API.
Important
This class is managed by
PrivateTIDALAPIClientand should not be instantiated directly.- Parameters:
- clientminim.api._shared.APIClient
API client instance used to make HTTP requests.
Methods
Get feed activities for the current user.
Check whether there are unseen feed activities for the current user.
Mark all feed activities for the current user seen.
- get_feed_activities() dict[str, Any][source]¶
Get feed activities for the current user.
- Returns:
- feed_activitiesdict[str, Any]
Feed activities.
Sample response
{ "activities": [ { "followableActivity": { "album": { "id": <int>, "title": <str>, "artists": [ { "id": <int>, "name": <str>, } ], "mainArtists": [ { "id": <int>, "name": <str>, } ], "type": "ALBUM", "audioQuality": <str>, "streamStartDate": <str>, "releaseDate": <str>, "allowStreaming": <bool>, "streamReady": <bool>, "cover": <str>, "videoCover": <str>, "numberOfVolumes": <int>, "numberOfTracks": <int>, "numberOfVideos": <int>, "explicit": <bool> }, "activityType": "NEW_ALBUM_RELEASE", "occurredAt": <str> }, "seen": <bool> } ], "stats": { "totalNotSeenActivities": <int> } }