Class GetNewReleasesRequest


  • public class GetNewReleasesRequest
    extends Object
    Get All New Releases request

    Response

    On success, the HTTP status code in the response header is 200 OK and the response body contains a message and analbums object. The albums object contains an array of simplified album objects (wrapped in a paging object) in JSON format. On error, the header status code is an error code and the response body contains an error object.

    Once you have retrieved the list, you can use Get an Album's Tracks to drill down further.

    The results are returned in an order reflected within the Spotify clients, and therefore may not be ordered by date.

    • Constructor Detail

      • GetNewReleasesRequest

        public GetNewReleasesRequest​(ApiClient apiClient)

        Get All New Releases request

        Parameters:
        apiClient -

        The API client

    • Method Detail

      • limit

        public GetNewReleasesRequest limit​(int limit)

        The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.

      • offset

        public GetNewReleasesRequest offset​(int offset)

        The index of the first item to return. Default: 0 (the first object). Use with limit to get the next set of items.