Learn R Programming

rgenius (version 0.1.0)

get_song_producer_artist: Get Song Producer

Description

This function gets song producer information

Usage

get_song_producer_artist(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 tibble with the producer's information

Details

To use this function, you need to first use 'search_genius_song' to get the song ID. This function returns the producer name and links to their genius profiles and images.

Examples

Run this code
# NOT RUN {
get_song_producer_artist('55882')
# }

Run the code above in your browser using DataLab