spotifywebapipython.models.artist
Spotify Web API Artist object.
Artist(root: dict = None)
Initializes a new instance of the class.
Arguments:
- root (dict): Spotify Web API JSON response in dictionary format, used to load object attributes; otherwise, None to not load attributes.
Genres: list[str]
A list of the genres the artist is associated with; if not yet classified, the array is empty.
Example: ["Prog rock","Grunge"]
Images: list[spotifywebapipython.models.imageobject.ImageObject]
Images of the artist in various sizes, widest first.