ClientProfileApi

class ClientProfileApi(api: GenericSpotifyApi) : UserApi

Endpoints for retrieving information about a user’s profile.

Api Reference

Constructors

ClientProfileApi
Link copied to clipboard
common
fun ClientProfileApi(api: GenericSpotifyApi)

Functions

getClientProfile
Link copied to clipboard
common
suspend fun getClientProfile(): SpotifyUserInformation
Get detailed profile information about the current user (including the current user’s username).
getClientProfileRestAction
Link copied to clipboard
common
Get detailed profile information about the current user (including the current user’s username).
getProfile
Link copied to clipboard
common
suspend fun getProfile(user: String): SpotifyPublicUser?
Get public profile information about a Spotify user.
getProfileRestAction
Link copied to clipboard
common
fun getProfileRestAction(user: String): SpotifyRestAction<SpotifyPublicUser?>
Get public profile information about a Spotify user.

Properties

api
Link copied to clipboard
common
val api: GenericSpotifyApi
cache
Link copied to clipboard
common
val cache: SpotifyCache

Sources

common source
Link copied to clipboard