Class GetChapterRequest

All Implemented Interfaces:
IRequest<Chapter>

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

    • execute

      public Chapter execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Send the request.
      Returns:
      A Chapter
      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.