Album subsystem

The Album class

class spotify.Album

Album objects

ALBUM
SINGLE
COMPILATION
UNKNOW
artist()
Return type:Artist
Returns:the artist associated with this album
cover()
Return type:string
Returns:the id of the cover data associated with this album
is_available()
Return type:int
Returns:1 if the album is available, 0 if not.
is_loaded()
Return type:int
Returns:1 if this album has been loaded by the client, 0 if not.
name()
Return type:string
Returns:the name of the album.
type()
Return type:int
Returns:the type of the album.

You can check the value against one of ALBUM, SINGLE, COMPILATION or UNKNOWN.

year()
Return type:int
Returns:the year in which the album was released.