Description Usage Arguments Value Examples
View source: R/spotify_InfoAPI.R
Get an Artists Top Songs on Spotify
1 2 3 4 5 6 | getTopSongs(
artistId,
output = "dataframe",
region = "CA",
authentication_token = getAuthenticationToken()
)
|
artistId |
The Spotify ID of an artist. |
output |
How to output data. acceptable values are "json", "dataframe", or "graph". |
region |
The two letter code of the market region to check. Default is "CA" for Canada. |
authentication_token |
Predefined argument which runs getAuthenticationToken() |
An object of chosen type containing info on an artists top songs.
1 | getTopSongs("3WPKDlucMsXH6FC1XaclZC", output = "dataframe", region = "CA")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.