Class GetUsersSavedShowsRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.library.GetUsersSavedShowsRequest
-
public class GetUsersSavedShowsRequest extends Object
Get User's Saved Shows requestRequired OAuth scopes
user-library-readResponse
On success, the HTTP status code in the response header is
200OK and the response body contains an array of saved show objects (wrapped in a paging object) in JSON format. If the current user has no shows saved, the response will be an empty array. If a show is unavailable in the givenmarketit is filtered out. Thetotalfield in the paging object represents the number of all items, filtered or not, and thus might be larger than the actual total number of observable items. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description GetUsersSavedShowsRequest(ApiClient apiClient)Get User's Saved Shows request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Paging<SavedShow>>build()Build the request into an executable callGetUsersSavedShowsRequestlimit(int limit)The maximum number of shows to return.GetUsersSavedShowsRequestoffset(int offset)The index of the first show to return.
-
-
-
Constructor Detail
-
GetUsersSavedShowsRequest
public GetUsersSavedShowsRequest(ApiClient apiClient)
Get User's Saved Shows request
- Parameters:
apiClient-The API client
-
-
Method Detail
-
limit
public GetUsersSavedShowsRequest limit(int limit)
The maximum number of shows to return. Default: 20. Minimum: 1. Maximum: 50
-
offset
public GetUsersSavedShowsRequest offset(int offset)
The index of the first show to return. Default: 0 (the first object). Use with limit to get the next set of shows.
-
-