Description Usage Arguments Value Examples
These functions search for artist(s) by name (artistSearch
) and unique
ID (artistGet
).
1 2 | artistSearch(artistName, returnClosest = TRUE,
accessToken = spotifyAccessTokenGet())
|
artistName |
a vector of artist names; can be one or more long. |
returnClosest |
logical; should only the closest matching name be returned. Defaults
to |
accessToken |
Spotify Web API token. Defaults to songwriteR::spotifyAccessTokenGet() |
artistID |
a vector of unique artist IDs as returned by |
artistSearch
returns a data.frame
with elements corresponding to the
matched names, and the associated unique IDs; artistGet
returns a data.frame
with elements x x x;
1 2 3 4 | ## Not run:
artistSearch('johnny cash')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.