spotifywebapipython.models.albumsimplified
@export
class
AlbumSimplified:
Spotify Web API Simplified Album object.
AlbumSimplified(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.
Artists: list[spotifywebapipython.models.artistsimplified.ArtistSimplified]
The artists of the album.
Each artist object includes a link in href to more detailed information about the artist.
AvailableMarkets: list[str]
The markets in which the album is available: ISO 3166-1 alpha-2 country codes.
NOTE: an album is considered available in a market when at least 1 of its tracks is available in that market.
Example: ["CA","BR","IT"]
ExternalUrls: spotifywebapipython.models.externalurls.ExternalUrls
Known external URLs for the album.
Images: list[spotifywebapipython.models.imageobject.ImageObject]
The cover art for the album in various sizes, widest first.
ReleaseDatePrecision: str
The precision with which release_date value is known.
Allowed values: year
, month
, day
.
Example: year
Restrictions: spotifywebapipython.models.restrictions.Restrictions
Included in the response when a content restriction is applied.