Class GetUsersProfileRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.usersprofile.GetUsersProfileRequest
-
public class GetUsersProfileRequest extends Object
Get a User's Profile requestResponse
On success, the HTTP status code in the response header is
200OK and the response body contains a user object in JSON format. On error, the header status code is an error code and the response body contains an error object. If a user with that user_id doesn't exist, the status code is404NOT FOUND.
-
-
Constructor Summary
Constructors Constructor Description GetUsersProfileRequest(ApiClient apiClient, String userId)Get a User's Profile request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<PublicUser>build()Build the request into an executable call
-
-
-
Constructor Detail
-
GetUsersProfileRequest
public GetUsersProfileRequest(ApiClient apiClient, String userId)
Get a User's Profile request
- Parameters:
apiClient-The API client
userId-The user's Spotify user ID.
-
-
Method Detail
-
build
public ApiCall<PublicUser> build()
Build the request into an executable call
-
-