SimplifiedArtist provides just the core identification fields (id, name, URI, etc.)
Artist extends SimplifiedArtist and adds profile information like followers, genres, images, and popularity
The simplified version is used when artists are embedded in other responses (like in Album or Track objects), while the full Artist model is returned from artist-specific endpoints.
from spotify_sdk.models.artist import Artist, SimplifiedArtist# Parse an artist from the API responseartist = Artist(**api_response)# Access artist propertiesprint(f"Artist: {artist.name}")print(f"Followers: {artist.followers.total:,}")print(f"Popularity: {artist.popularity}")print(f"Genres: {', '.join(artist.genres)}")# Get the largest imageif artist.images: largest_image = artist.images[0] print(f"Image URL: {largest_image.url}") print(f"Dimensions: {largest_image.width}x{largest_image.height}")# Simplified artist from an albumalbum_artist = SimplifiedArtist(**simplified_data)print(f"Album by: {album_artist.name}")