get_categories: Get a list of Spotify categories

View source: R/browse.R

get_categoriesR Documentation

Get a list of Spotify categories

Description

Get a list of Spotify categories

Usage

get_categories(authorization = get_spotify_access_token(), df = TRUE)

Arguments

authorization

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

df

Should the results be formatted as a data frame? If FALSE, the full response JSON will be returned as a list; defaults to TRUE.

Value

Returns a data frame of results containing album data. See https://developer.spotify.com/documentation/web-api/reference/browse/get-list-categories/ for more information.


spotifyr documentation built on Oct. 30, 2024, 9:13 a.m.