Skip to content
Joel edited this page Dec 29, 2023 · 13 revisions

Description

Album object containing album information. Due to API limitations, Albums do not have access to contained tracks.

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. Depending on the path used, The unavailable attribute will default to the available attribute (ex. name defaults to full_title if name is not present) to avoid AttributeError exceptions.

Constructor

Album(self, album_info)

Fields

Field Description
album_info List of Album information
cover_art_url Cover Art URL
api_path Album API path
name Album name
full_title Album full title
url Album URL
id Album ID
json JSON object of album_info
Clone this wiki locally