PrivateFeedAPI

class minim.api.tidal.PrivateFeedAPI(client: APIClient, /)[source]

Bases: PrivateTIDALResourceAPI

Feed API endpoints for the private TIDAL API.

Important

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

Parameters:
clientminim.api._shared.APIClient

API client instance used to make HTTP requests.

Methods

get_feed_activities

Get feed activities for the current user.

has_unseen_feed_activities

Check whether there are unseen feed activities for the current user.

mark_feed_activities_seen

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.

has_unseen_feed_activities() dict[str, bool][source]

Check whether there are unseen feed activities for the current user.

Returns:
unseendict[str, bool]

Whether the current user has unseen feed activities.

Sample response: {'hasUnseenActivities': False}.

mark_feed_activities_seen() None[source]

Mark all feed activities for the current user seen.