spotifywebapipython.models.album
Spotify Web API Album object.
Album(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.
Copyrights: list[spotifywebapipython.models.copyright.Copyright]
The copyright statements of the album.
Genres: list[str]
A list of the genres the album is associated with. If not yet classified, the array is empty.
Example: ["Egg punk","Noise rock"]
Popularity: int
The popularity of the album.
The value will be between 0 and 100, with 100 being the most popular.