Class ChaptersApi

java.lang.Object
de.sonallux.spotify.api.apis.ChaptersApi

public class ChaptersApi extends Object
Chapters
  • Constructor Details

    • ChaptersApi

      public ChaptersApi()
  • Method Details

    • getChapter

      public GetChapterRequest getChapter(String id)

      Get a Chapter

      Get Spotify catalog information for a single chapter.
      Note: Chapters are only available for the US, UK, Ireland, New Zealand and Australia markets.

      Parameters:
      id -

      The Spotify IDfor the chapter.

      Returns:
      a GetChapterRequest object to build and execute the request
    • getSeveralChapters

      public GetSeveralChaptersRequest getSeveralChapters(String ids)

      Get Several Chapters

      Get Spotify catalog information for several chapters identified by their Spotify IDs.
      Note: Chapters are only available for the US, UK, Ireland, New Zealand and Australia markets.

      Parameters:
      ids -

      A comma-separated list of the Spotify IDs. For example: ids=0IsXVP0JmcB2adSE338GkK,3ZXb8FKZGU0EHALYX6uCzU. Maximum: 50 IDs.

      Returns:
      a GetSeveralChaptersRequest object to build and execute the request