search_genius_artist: Search Artist

Description Usage Arguments Details Value Author(s) Examples

View source: R/search_genius_artist.R

Description

This function searches 'genius' artists by name

Usage

1
2
search_genius_artist(artist_name,
  access_token = Sys.getenv("GENIUS_API_TOKEN"))

Arguments

artist_name

String of artist name

access_token

Genius Web API token. Defaults to Sys.getenv('GENIUS_API_TOKEN').

Details

All Genius API endpoints require an artist or song ID. The 'search_' functions in this package try to search for the desired artists/songs to obtain their Genius ID and to use them later.

Value

Returns a data frame with the artist's information

Author(s)

Alberto Almuiña

Examples

1
2
3
4
## Not run: 
search_genius_artist('Arctic Monkeys')

## End(Not run)

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