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())



Required. The Spotify ID for the category.


Optional. A country: an ISO 3166-1 alpha-2 country code. Provide this parameter to ensure that the category exists for a particular country.


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: es_MX, meaning "Spanish (Mexico)". Provide this parameter if you want the category strings returned in a particular language. Note that, if locale is not supplied, or if the specified language is not available, the category strings returned will be in the Spotify default language (American English).


Required. A valid access token from the Spotify Accounts service. See the Web API authorization guide for more details. Defaults to spotifyr::get_spotify_access_token()


Returns a list of results containing category information. See for more information.