Package de.sonallux.spotify.api.apis
Class UsersProfileApi
- java.lang.Object
-
- de.sonallux.spotify.api.apis.UsersProfileApi
-
public class UsersProfileApi extends Object
-
-
Constructor Summary
Constructors Constructor Description UsersProfileApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCurrentUsersProfileRequestgetCurrentUsersProfile()Get Current User's ProfileGetUsersProfileRequestgetUsersProfile(String userId)Get a User's Profile
-
-
-
Method Detail
-
getCurrentUsersProfile
public GetCurrentUsersProfileRequest getCurrentUsersProfile()
Get Current User's Profile
Get detailed profile information about the current user (including the current user's username).
- Returns:
- a
GetCurrentUsersProfileRequestobject to build and execute the request
-
getUsersProfile
public GetUsersProfileRequest getUsersProfile(String userId)
Get a User's Profile
Get public profile information about a Spotify user.
- Parameters:
userId-The user's Spotify user ID.
- Returns:
- a
GetUsersProfileRequestobject to build and execute the request
-
-