get_artist: Get Artist Information

Description Usage Arguments Value See Also Examples

View source: R/artist.R

Description

This function returns information from the Genius API about an artist, given this artist's ID on the API.

Usage

1
get_artist(artist_id, access_token)

Arguments

artist_id

an artist's ID on the Genius API

access_token

the user's (your) access token to the Genius API. For more detail about how to get it, see section Details

Value

a DataFrame of information about an Artist. Columns:

id

the artist's ID on the Genius API

alternate_name

the artist's name

facebook_name

the artist's name on facebook, if provided on the API

instagram_name

the artist's name on instagram, if provided on the API

twitter_name

the artist's name on twitter, if provided on the API

See Also

get_song, get_songs, search_song, get_songs_from_artist.

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(rGenius)

## Get Carlos Santana's information
get_artist(8439, access_token=YOUR_TOKEN_GOES_HERE)


## End(Not run)

tylercroberts/rGenius documentation built on May 17, 2019, 8:46 p.m.