All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.jsone_studios.wrapper.spotify.services.UsersProfileSpotifyService Maven / Gradle / Ivy

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