CategoriesApis

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

Browse category domain API for Spotify Web API.

Covers category listing and individual category metadata from the Browse endpoints.

Constructors

Link copied to clipboard
constructor(client: HttpClient = HttpClient(CIO) { install(ContentNegotiation) { json() } })

Functions

Link copied to clipboard
suspend fun getSeveralBrowseCategories(locale: String? = null, pagingOptions: PagingOptions = PagingOptions()): SpotifyApiResponse<BrowseCategories>

Gets Spotify browse categories.

Link copied to clipboard
suspend fun getSingleBrowseCategory(categoryId: String, locale: String? = null): SpotifyApiResponse<BrowseCategory>

Gets a Spotify browse category by category ID.