lyrics: Lyrics of a song.

Description Usage Arguments Details Value Author(s) Examples

View source: R/lyrics.R

Description

Gives the lyrics text of a song and the translation text, when the language of the song its not Portuguese.

Usage

1
lyrics(identifier, type, artist, key, message = TRUE)

Arguments

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?

Details

The variables returned by the function are extracted with the Vagalume API.

Value

lyrics returns a data.frame with information about the artist, the song and the texts.

Author(s)

Bruna Wundervald, brunadaviesw@gmail.com.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

vagalumeR documentation built on May 2, 2019, 8:41 a.m.

Related to lyrics in vagalumeR...