Description Usage Arguments Value Examples
View source: R/spotify_InfoAPI.R
Search using either an artists name or Spotify id code.
1 2 3 4 5 6 7 | getArtistInfo(
artist,
byName = FALSE,
dataframe = TRUE,
lim = 10,
authentication_token = getAuthenticationToken()
)
|
artist |
The id or name of a Spotify artist to search. |
byName |
Boolean. TRUE searches artist by name, FALSE searches by id. |
dataframe |
Boolean. TRUE returns data cleaned in a dataframe, FALSE returns raw json. |
lim |
The number of results to return if searched by name. |
authentication_token |
Predefined argument which runs getAuthenticationToken() |
A dataframe or json object containing an artists information.
1 | getArtistInfo("Ghost", byName = TRUE, dataframe = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.