lyrics {vagalumeR} | R Documentation |
Gives the lyrics text of a song and the translation text, when the language of the song its not Portuguese.
lyrics(identifier, type, artist, key, message = TRUE)
identifier |
The identifier of the song. |
type |
The type of identifier os the song ("name" or "id"). |
artist |
The name of the artist/band. |
key |
The apikey. |
message |
Should the function print something if the required data is not found? |
The variables returned by the function are extracted with the Vagalume API.
lyrics
returns a data.frame with information
about the artist, the song and the texts.
Bruna Wundervald, brunadaviesw@gmail.com.
## Not run:
identifier <- "A-Day-In-The-Life"
key <- "your token"
artist <- "the-beatles"
type <- "name"
lyrics(identifier, type, artist, key)
key <- "your token"
identifier <- "3ade68b4gdc96eda3"
type <- "id"
lyrics(identifier = identifier, type = type, key = key)
## End(Not run)