Get Spotify Catalog information about artists belonging to a given label.
get_label_artists(
label = character(),
market = NULL,
limit = 20,
offset = 0,
authorization = get_spotify_access_token()
)
A data frame with the label information of the artists.
Required.
String of label name to search for
For example: label = "brainfeeder"
.
Optional.
An ISO 3166-1 alpha-2 country code or the string "from_token"
.
If a country code is specified, only artists with content that is playable in that market is returned.
Note:
- If market is set to "from_token"
, and a valid access token is specified in the request header, only content playable in the country associated with the user account is returned.
- Users can view the country that is associated with their account in the account settings. A user must grant access to the user-read-private scope prior to when the access token is issued.
Optional.
Maximum number of results to return.
Default: 20
Minimum: 1
Maximum: 50
Optional.
The index of the first result to return.
Default: 0 (the first result).
Maximum offset (including limit): 10,000.
Use with limit to get the next page of search results.
Required.
A valid access token from the Spotify Accounts service.
See the Web API authorization guide for more details. Defaults to spotifyr::get_spotify_access_token()
if (FALSE) {
get_label_artists('brainfeeder')
}
Run the code above in your browser using DataLab