Get Playlist Cover Image
List<ImageObject> playlists().images().list(ImageListParamsparams = ImageListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/playlists/{playlist_id}/images
Get the current image associated with a specific playlist.
Parameters
Get Playlist Cover Image
package dev.cjav.spotted.example;
import dev.cjav.spotted.client.SpottedClient;
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient;
import dev.cjav.spotted.models.ImageObject;
import dev.cjav.spotted.models.playlists.images.ImageListParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
SpottedClient client = SpottedOkHttpClient.fromEnv();
List<ImageObject> imageObjects = client.playlists().images().list("3cEYpjA9oz9GiPac4AsH4n");
}
}[
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
]Returns Examples
[
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
]