Description Usage Arguments References Examples
Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.
1  | search_spotify(q, type = c("artist", "album", "playlist", "track"), ...)
 | 
q | 
 Required. The search query's keywords (and optional field filters and operators)  | 
type | 
 A comma-separated list of item types to search across. Valid types are: album, artist, playlist, and track  | 
1 2  | set_tokens()
search_spotify(q = 'heavy metal', type = 'track')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.