Class GetFollowedRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.follow.GetFollowedRequest
-
public class GetFollowedRequest extends Object
Get User's Followed Artists requestRequired OAuth scopes
user-follow-modifyResponse
On success, the HTTP status code in the response header is
200OK and the response body contains anartistsobject. Theartistsobject in turn contains a cursor-based paging object of Artists. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description GetFollowedRequest(ApiClient apiClient, String type)Get User's Followed Artists request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetFollowedRequestafter(String after)The last artist ID retrieved from the previous request.ApiCall<FollowingArtists>build()Build the request into an executable callGetFollowedRequestlimit(int limit)The maximum number of items to return.
-
-
-
Method Detail
-
after
public GetFollowedRequest after(String after)
The last artist ID retrieved from the previous request.
-
limit
public GetFollowedRequest limit(int limit)
The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
-
build
public ApiCall<FollowingArtists> build()
Build the request into an executable call
-
-