Interface UsersProfileSpotifyService


  • public interface UsersProfileSpotifyService
    • 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