Interface UsersProfileSpotifyService
-
public interface UsersProfileSpotifyService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<UserPrivate>getMe()Get detailed profile information about the current user (including the current user’s username).retrofit2.Call<UserPublic>getUser(String userId)Get public profile information about a Spotify user.
-
-
-
Method Detail
-
getMe
@GET("me") retrofit2.Call<UserPrivate> getMe()Get detailed profile information about the current user (including the current user’s username).- Returns:
- user object (private)
- See Also:
- Get Current User's Profile
-
getUser
@GET("users/{id}") retrofit2.Call<UserPublic> getUser(@Path("id") String userId)Get public profile information about a Spotify user.- Parameters:
userId- the user id- Returns:
- user object (public)
- See Also:
- Get a User's Profile
-
-