-
Notifications
You must be signed in to change notification settings - Fork 2
Album
Joel edited this page Dec 27, 2022
·
13 revisions
Album object containing album information. Due to API limitations, Albums are not simply lists of Track objects.
Additionally, the available object attributes may vary depending on API path used to access an Album. For example, name and full_title are mutually exclusive attributes. name contains only the Album name, while full_title returns the name in the format Album by Artist.
Album(self, album_info)| Field | Description |
|---|---|
album_info |
List of JSON Album information |
cover_art_url |
Cover Art URL |
path |
Album API path |
name |
Album name |
full_title |
Album full title |
url |
Album URL |
id |
Album ID |
| Function | Description |
|---|---|
to_json() |
Returns formatted JSON object |
Created with 💖 by jjoeldaniel