Get Spotify catalog information for a single artist identified by their unique Spotify ID.
Parameters
Returns
Get Artist
import os
from spotted import Spotted
client = Spotted(
access_token=os.environ.get("SPOTIFY_ACCESS_TOKEN"), # This is the default and can be omitted
)
artist_object = client.artists.retrieve(
"0TnOYISbd1XYRBk9myaseg",
)
print(artist_object.id){
"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"
}Returns Examples
{
"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"
}