Get Playlist Cover Image
playlists.images.list(playlist_id) -> ImageListResponse { height, url, width, published }
GET/playlists/{playlist_id}/images
Get the current image associated with a specific playlist.
Parameters
Returns
Get Playlist Cover Image
require "spotted"
spotted = Spotted::Client.new(access_token: "My Access Token")
image_objects = spotted.playlists.images.list("3cEYpjA9oz9GiPac4AsH4n")
puts(image_objects)[
{
"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
}
]