Categories Apis
class CategoriesApis(client: HttpClient = SpotifyHttpClientFactory.create(), tokenProvider: TokenProvider = TokenHolder) : BaseSpotifyApi
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 = SpotifyHttpClientFactory.create(), tokenProvider: TokenProvider = TokenHolder)
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.