get_artist: Retrieve metadata for an artist

View source: R/artists.R

get_artistR Documentation

Retrieve metadata for an artist

Description

The Genius API lets you return data for a specific artist, given an artist ID. get_artist returns this data in full.

Usage

get_artist(artist_id, access_token = genius_token())

Arguments

artist_id

ID of the artist (artist_id within an object returned by search_artist)

access_token

Genius' client access token, defaults to genius_token

Value

a genius_artist object that contains the extracted content from the request, the original JSON response object and the request path.

See Also

See get_artist_df to return a tidy data frame.

Other artist: get_artist_df(), get_artist_songs_df(), get_artist_songs()

Examples

## Not run: 
get_artist(artist_id = 16775)

## End(Not run)

geniusr documentation built on Sept. 4, 2022, 1:07 a.m.