ChaptersApis

class ChaptersApis(client: HttpClient = HttpClient(CIO) { install(ContentNegotiation) { json() } })

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 = HttpClient(CIO) { install(ContentNegotiation) { json() } })

Functions

Link copied to clipboard
suspend fun getAChapter(id: String, market: CountryCode? = null): SpotifyApiResponse<Chapter>

Gets a Spotify chapter by chapter ID.

Link copied to clipboard

Gets multiple Spotify chapters by their IDs.