get_song {geniusr}R Documentation

Retrieve metadata for a song

Description

The Genius API lets you return data for a specific song, given a song ID. get_song returns this data in full.

Usage

get_song(song_id, access_token = genius_token())

Arguments

song_id

ID of the song (song_id within an object returned by search_song)

access_token

Genius' client access token, defaults to genius_token

Value

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

See Also

See get_song_df to return a tidy data frame.

Other song: get_song_df(), tidy_album_performances(), tidy_song_performances(), tidy_song_producers(), tidy_song_relationships(), tidy_song_writers()

Examples

## Not run: 
get_song(song_id = 3039923)

## End(Not run)

[Package geniusr version 1.2.1 Index]