get_track | R Documentation |
Get Spotify catalog information for a single track identified by its unique Spotify ID.
get_track(id, market = NULL, authorization = get_spotify_access_token())
id |
The Spotify ID for the track. |
market |
Optional. |
authorization |
Required. A valid access token from the Spotify Accounts service. See the Web API authorization guide for more details. Defaults to |
Returns a data frame of results containing track data. See https://developer.spotify.com/documentation/web-api/reference/tracks/get-several-tracks/ for more information.
Other track functions:
get_album_tracks()
,
get_playlist_tracks()
,
get_tracks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.