get_artist {DSpoty} | R Documentation |
Get Artist
Description
This function searches spotify artists by name
Usage
get_artist(artist_name, offset = "0", limit = "1",
access_token = DSpoty::get_spotify_access_token())
Arguments
artist_name |
String of artist name |
offset |
Integer indicating the offset of the first artist to return. Defaults to 0 (Spotify's API default value). |
limit |
Integer indicating the max number of artists to return. Defaults to 1, max of 50. |
access_token |
Spotify Web API token. Defaults to DSpoty::get_spotify_access_token() |
Value
Returns a data frame with the artist's information
Author(s)
Alberto Almui?a
Examples
## Not run:
get_artist('Arctic Monkeys')
## End(Not run)
[Package DSpoty version 0.1.0 Index]