Get Playlist Cover Image
playlists.images.list(strplaylist_id) -> ImageListResponse
GET/playlists/{playlist_id}/images
Get the current image associated with a specific playlist.
Parameters
Returns
Get Playlist Cover Image
import os
from spotted import Spotted
client = Spotted(
access_token=os.environ.get("SPOTIFY_ACCESS_TOKEN"), # This is the default and can be omitted
)
image_objects = client.playlists.images.list(
"3cEYpjA9oz9GiPac4AsH4n",
)
print(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
}
]