Class GetAudiobookRequest

All Implemented Interfaces:
IRequest<Audiobook>

public class GetAudiobookRequest extends AbstractDataRequest<Audiobook>
Get Spotify catalog information for a single audiobook. Audiobooks are only available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
See Also:
  • Method Details

    • execute

      public Audiobook execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Send the request.
      Returns:
      An Audiobook
      Throws:
      IOException - In case of networking issues.
      SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.
      org.apache.hc.core5.http.ParseException - The response could not be parsed.