AsyncAlbum

class deezer.asyncio.AsyncAlbum(client, json)

Async album resource.

Mirrors the sync Album but with async methods for traversing relations.

id: int
title: str
upc: str
share: str
cover: str
cover_small: str
cover_medium: str
cover_big: str
cover_xl: str
md5_image: str
genre_id: int
label: str
nb_tracks: int
duration: int
fans: int
release_date: date
record_type: str
available: bool
tracklist: str
explicit_lyrics: bool
explicit_content_lyrics: int
explicit_content_cover: int
contributors: list[AsyncArtist]
artist: AsyncArtist
async get_artist()

Get the artist of the Album.

Returns:

an AsyncArtist object

Return type:

AsyncArtist

async get_tracks(**kwargs)

Get a list of album’s tracks.

Returns:

an AsyncPaginatedList of track resources.

Return type:

AsyncPaginatedList