getSingleBrowseCategory

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

Deprecated

Spotify marks GET /v1/browse/categories/{category_id} as deprecated.

Gets a Spotify browse category by category ID.

Return

Wrapped Spotify API response with status code and parsed Spotify payload.

Parameters

categoryId

Spotify category ID from the Browse API (for example party or workout).

locale

Locale used for localized strings (for example en_US).