Connects with the Spotify API and returns output from the href https://api.spotify.com/v1/search/
search_albums(
album_name,
output = c("tidy", "raw", "id"),
limit = 20,
offset = 0,
token = my_token
)
Required. Get Spotify Catalog information about albums that match this input.
Type of output to return from the request. Default: tidy.
Maximum number of results to return. Should be between 1 and 50. Default: 20.
The index of the first result to return. Default: 0.
A valid access token from the Spotify Accounts service: see https://developer.spotify.com/documentation/general/guides/authorization-guide/ for details. Default: my_token.
Default: returns a tidy dataframe with a selection of the response. Alternatively, when output is set to raw, it returns the raw output from the request, or When output is set to id, it returns only the id.