Chapters Apis
class ChaptersApis(client: HttpClient = SpotifyHttpClientFactory.create(), tokenProvider: TokenProvider = TokenHolder) : BaseSpotifyApi
Chapter domain API for Spotify Web API.
Covers chapter retrieval and chapter batches for audiobook and podcast content.
Constructors
Link copied to clipboard
constructor(client: HttpClient = SpotifyHttpClientFactory.create(), tokenProvider: TokenProvider = TokenHolder)
Functions
Link copied to clipboard
Gets a Spotify chapter by chapter ID.
Link copied to clipboard
suspend fun getSeveralChapters(ids: List<String>, market: CountryCode? = null): SpotifyApiResponse<Chapters>
Gets multiple Spotify chapters by their IDs.