Class GetMultipleAudiobooksRequest

java.lang.Object
de.sonallux.spotify.api.apis.audiobooks.GetMultipleAudiobooksRequest

public class GetMultipleAudiobooksRequest extends Object

Get Several Audiobooks request

Response

A set of audiobooks

  • Constructor Details

    • GetMultipleAudiobooksRequest

      public GetMultipleAudiobooksRequest(ApiClient apiClient, String ids)
      Get Several Audiobooks request
      Parameters:
      apiClient -

      The API client

      ids -

      A comma-separated list of the Spotify IDs. For example: ids=18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ. Maximum: 50 IDs.

  • Method Details

    • market

      public GetMultipleAudiobooksRequest market(String market)
      Parameters:
      market -

      An ISO 3166-1 alpha-2 country code. If a country code is specified, only content that is available in that market will be returned.
      If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.
      Note: If neither market or user country are provided, the content is considered unavailable for the client.
      Users can view the country that is associated with their account in the account settings.

      Returns:
      this request
    • build

      public ApiCall<ManyAudiobooks> build()
      Build the request into an executable api call
      Returns:
      an executable api call