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