Class GetAvailableMarketsRequest


  • public class GetAvailableMarketsRequest
    extends Object
    Get Available Markets request

    Response

    On success, the HTTP status code in the response header is 200 OK and the response body contains a list of the countries in which Spotify is available, identified by their ISO 3166-1 alpha-2 country code with additional country codes for special territories. On error, the header status code is an error code and the response body contains an error object.

    • Constructor Detail

      • GetAvailableMarketsRequest

        public GetAvailableMarketsRequest​(ApiClient apiClient)

        Get Available Markets request

        Parameters:
        apiClient -

        The API client

    • Method Detail

      • build

        public ApiCall<Markets> build()
        Build the request into an executable call