Search for an Item
Get Spotify Catalog information about artists, albums, tracks or playlists that match a keyword string. For more information see the official documentation.
search_spotify( q, type = c("album", "artist", "playlist", "track"), market = NULL, limit = 20, offset = 0, include_external = NULL, authorization = get_spotify_access_token(), include_meta_info = FALSE )
q |
Required. |
type |
A character vector of item types to search across. |
market |
Optional. |
limit |
Optional. |
offset |
Optional. |
include_external |
Optional. |
authorization |
Required. A valid access token from the Spotify Accounts service.
See the Web API authorization guide for more details. Defaults to |
include_meta_info |
Optional. Boolean indicating whether to include full result, with meta information such as |
A tibble with detailed information about the searched album, artist, playlist, track or their combination.
search_spotify('radiohead', 'artist')
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.