The Genius API lets you return data for a specific artist, given an artist ID.
get_artist
returns this data in full.
get_artist(artist_id, access_token = genius_token())
a genius_artist
object that contains the extracted content from the request,
the original JSON response object and the request path.
ID of the artist (artist_id
within an object returned by
search_artist
)
Genius' client access token, defaults to genius_token
See get_artist_df
to return a tidy data frame.
Other artist:
get_artist_df()
,
get_artist_songs_df()
,
get_artist_songs()
if (FALSE) {
get_artist(artist_id = 16775)
}
Run the code above in your browser using DataLab