![JAR search and dependency download from the Maven repository](/logo.png)
de.jsone_studios.wrapper.spotify.services.UsersProfileSpotifyService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-web-api-java Show documentation
Show all versions of spotify-web-api-java Show documentation
A Java wrapper for Spotify's Web API using Retrofit
The newest version!
package de.jsone_studios.wrapper.spotify.services;
import de.jsone_studios.wrapper.spotify.models.UserPrivate;
import de.jsone_studios.wrapper.spotify.models.UserPublic;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
public interface UsersProfileSpotifyService
{
/**
* Get detailed profile information about the current user (including the current user’s username).
*
* @return user object (private)
* @see Get Current User's Profile
*/
@GET("me")
Call getMe();
/**
* Get public profile information about a Spotify user.
*
* @param userId the user id
* @return user object (public)
* @see Get a User's Profile
*/
@GET("users/{id}")
Call getUser(@Path("id") String userId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy