Class GetUsersSavedShowsRequest


  • public class GetUsersSavedShowsRequest
    extends Object
    Get User's Saved Shows request

    Required OAuth scopes

    user-library-read

    Response

    On success, the HTTP status code in the response header is 200 OK 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 given market it is filtered out. The total field 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 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.