get_song_relationship: Get Song Relationship

Description Usage Arguments Details Value Author(s) Examples

View source: R/get_song_relationship.R

Description

This function fetches songs related to the wanted one.

Usage

1
2
get_song_relationship(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').

Details

To use this function, you need to first use 'search_genius_song' to get the song ID.

Value

Returns a tibble with related song's information

Author(s)

Alberto Almuiña

Examples

1
2
3
4
## Not run: 
get_song_relationship('55882')

## End(Not run)

rgenius documentation built on July 1, 2020, 10:28 p.m.