Description Usage Arguments Value Author(s) Examples
View source: R/get_artists_by_genre.R
Function to search artists by genre
1 2 3 | get_artists_by_genre(genre = is.character(), offset = "0",
limit = "10", year = 2019,
access_token = DSpoty::get_spotify_access_token())
|
genre |
String of genre name to search for |
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 10, max of 50. |
year |
Year to search for |
access_token |
Spotify Web API token. Defaults to DSpoty::get_spotify_access_token() |
Returns a data frame with the artist's information of a determined genre
Alberto Almui?a
1 2 3 4 | ## Not run:
rock_artists <- get_artists_by_genre("rock")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.