Learn R Programming

rgenius (version 0.1.0)

get_genius_song: Get Song

Description

This function gets 'genius' song information

Usage

get_genius_song(song_id, access_token = Sys.getenv("GENIUS_API_TOKEN"))

Arguments

song_id

Genius Song ID

access_token

Genius Web API token. Defaults to Sys.getenv('GENIUS_API_TOKEN').

Value

Returns a data frame with the song's information

Details

To use this function, you need to first use 'search_genius_song' to get the song ID.

Examples

Run this code
# NOT RUN {
get_genius_song('3440889')
# }

Run the code above in your browser using DataLab