Get Followed Artists
FollowingBulkRetrieveResponse me().following().bulkRetrieve(FollowingBulkRetrieveParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/me/following
Get the current user's followed artists.
Parameters
Returns
Get Followed Artists
package dev.cjav.spotted.example;
import dev.cjav.spotted.client.SpottedClient;
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient;
import dev.cjav.spotted.models.me.following.FollowingBulkRetrieveParams;
import dev.cjav.spotted.models.me.following.FollowingBulkRetrieveResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
SpottedClient client = SpottedOkHttpClient.fromEnv();
FollowingBulkRetrieveParams params = FollowingBulkRetrieveParams.builder()
.type(FollowingBulkRetrieveParams.Type.ARTIST)
.build();
FollowingBulkRetrieveResponse response = client.me().following().bulkRetrieve(params);
}
}{
"artists": {
"cursors": {
"after": "after",
"before": "before",
"published": true
},
"href": "href",
"items": [
{
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"followers": {
"href": "href",
"published": true,
"total": 0
},
"genres": [
"Prog rock",
"Grunge"
],
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "name",
"popularity": 0,
"published": true,
"type": "artist",
"uri": "uri"
}
],
"limit": 0,
"next": "next",
"published": true,
"total": 0
}
}Returns Examples
{
"artists": {
"cursors": {
"after": "after",
"before": "before",
"published": true
},
"href": "href",
"items": [
{
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"followers": {
"href": "href",
"published": true,
"total": 0
},
"genres": [
"Prog rock",
"Grunge"
],
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "name",
"popularity": 0,
"published": true,
"type": "artist",
"uri": "uri"
}
],
"limit": 0,
"next": "next",
"published": true,
"total": 0
}
}