genius (version 2.2.0)

genius_lyrics: Retrieve song lyrics from Genius.com

Description

Retrieve the lyrics of a song with supplied artist and song name.

Usage

genius_lyrics(artist = NULL, song = NULL, info = "title")

Arguments

artist

The quoted name of the artist. Spelling matters, capitalization does not.

song

The quoted name of the song. Spelling matters, capitalization does not.

info

Default "title", returns the track title. Set to "simple" for only lyrics, "artist" for the lyrics and artist, "features" for song element and the artist of that element, "all" to return artist, track, line, lyric, element, and element artist.

Examples

Run this code
# NOT RUN {
genius_lyrics(artist = "Margaret Glaspy", song = "Memory Street")
genius_lyrics(artist = "Kendrick Lamar", song = "Money Trees")
genius_lyrics("JMSN", "Drinkin'")

# }

Run the code above in your browser using DataLab