get_album: Retrieve metadata for an album

View source: R/albums.R

get_albumR Documentation

Retrieve metadata for an album

Description

The Genius API lets you request data for a specific album, given an album ID. get_album() returns this data in full.

Usage

get_album(album_id, access_token = genius_token())

Arguments

album_id

ID of the album (album_id within an object returned by get_song)

access_token

Genius' client access token, defaults to genius_token

Value

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

See Also

See get_album_df to return a tidy data frame.

Other album: get_album_df(), get_album_tracklist_id(), get_album_tracklist_search()

Examples

## Not run: 
get_album(album_id = 337082)

## End(Not run)

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