Description Usage Arguments Details Value Author(s) Examples
View source: R/get_song_media.R
This function gets 'genius' media information
1 | get_song_media(song_id, access_token = Sys.getenv("GENIUS_API_TOKEN"))
|
song_id |
Genius Song ID |
access_token |
Genius Web API token. Defaults to Sys.getenv('GENIUS_API_TOKEN'). |
To use this function, you need to first use 'search_genius_song' to get the song ID. This function returns the provider (YouTube, Spotify ..), the type (audio, video) and a link for the content.
Returns a tibble with the media's information
Alberto Almuiña
1 2 3 4 | ## Not run:
get_song_media('55882')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.