R/browse.R
get_category.Rd
Get a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).
get_category(category_id, country = NULL, locale = NULL, authorization = get_spotify_access_token())
category_id | Required. The Spotify ID for the category. |
---|---|
country | Optional. A country: an ISO 3166-1 alpha-2 country code. Provide this parameter to ensure that the category exists for a particular country. |
locale | Optional. The desired language, consisting of an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code, joined by an underscore. For example: |
authorization | Required. A valid access token from the Spotify Accounts service. See the Web API authorization guide for more details. Defaults to |
Returns a list of results containing category information. See https://developer.spotify.com/documentation/web-api/reference/users-profile/get-current-users-profile/ for more information.