Description Usage Arguments Details Value Author(s) Examples
View source: R/get_genius_song_lyrics.R
This function gets the lyrics of the desired song.
1 2 | get_genius_song_lyrics(song_id, output = "tibble", url = NULL,
access_token = Sys.getenv("GENIUS_API_TOKEN"))
|
song_id |
Genius Song ID |
output |
'tibble' or 'text'. Default: tibble. |
url |
If for some reason the function cannot find the url to download the letter, you can use a genius url to download it. |
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.
Returns a tibble or a character vector with the lyrics
Alberto Almuiña
1 2 3 4 | ## Not run:
get_genius_song_lyrics('55882', output = 'text')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.