Users Apis
User profile and follow domain API for Spotify Web API.
Covers current user profile, top items, follows, and public user profiles.
Constructors
Functions
Link copied to clipboard
suspend fun checkIfCurrentUserFollowsPlaylist(playlistId: String, ids: List<String>): SpotifyApiResponse<List<Boolean>>
Checks whether specific users follow a Spotify playlist.
Link copied to clipboard
suspend fun checkIfUserFollowsArtistsOrUsers(type: FollowType, ids: List<String>): SpotifyApiResponse<List<Boolean>>
Checks whether the current user follows the specified artists or users.
Link copied to clipboard
Follows artists or users for the current user.
Link copied to clipboard
Follows a Spotify playlist for the current user.
Link copied to clipboard
Gets the Spotify profile of the current user.
Link copied to clipboard
suspend fun getFollowedArtists(type: FollowType = FollowType.ARTIST, limit: Int? = null, after: String? = null): SpotifyApiResponse<FollowedArtists>
Gets artists followed by the current user.
Link copied to clipboard
Gets the public Spotify profile for a user.
Link copied to clipboard
suspend fun getUsersTopItems(type: TopItemType, timeRange: TimeRange? = null, limit: Int? = null, offset: Int? = null): SpotifyApiResponse<UsersTopItems>
Gets the current user's top artists or tracks.
Link copied to clipboard
suspend fun unfollowArtistsOrUsers(type: FollowType, ids: List<String>): SpotifyApiResponse<Boolean>
Unfollows artists or users for the current user.
Link copied to clipboard
Unfollows a Spotify playlist for the current user.