Learn R Programming

rgenius (version 0.1.0)

get_genius_artist_songs: Get Artist Songs

Description

This function gets all the songs of the artist in genius.

Usage

get_genius_artist_songs(artist_id,
  access_token = Sys.getenv("GENIUS_API_TOKEN"))

Arguments

artist_id

Genius Artist ID

access_token

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

Value

Returns a data frame with the artist's songs information

Details

To use this function, you need to first use 'search_genius_artist' to get the artist ID.

Examples

Run this code
# NOT RUN {
get_genius_artist_songs('343657')
# }

Run the code above in your browser using DataLab