Package de.sonallux.spotify.api.apis
Class ChaptersApi
java.lang.Object
de.sonallux.spotify.api.apis.ChaptersApi
Chapters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChapter(String id) Get a ChaptergetSeveralChapters(String ids) Get Several Chapters
-
Constructor Details
-
ChaptersApi
public ChaptersApi()
-
-
Method Details
-
getChapter
Get a 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.
- Parameters:
id-The Spotify IDfor the chapter.
- Returns:
- a
GetChapterRequestobject to build and execute the request
-
getSeveralChapters
Get Several Chapters
Get Spotify catalog information for several audiobook chapters identified by their Spotify IDs. Chapters are only available within the US, UK, Canada, 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
GetSeveralChaptersRequestobject to build and execute the request
-