Skip to content
Joel edited this page Dec 27, 2022 · 13 revisions

Description

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.

Constructor

Album(self, album_info)

Fields

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

Functions

Function Description
to_json() Returns formatted JSON object

Clone this wiki locally