AsyncTrack

class deezer.asyncio.AsyncTrack(client, json)

Async track resource.

id: int
readable: bool
title: str
title_short: str
title_version: str
unseen: bool
isrc: str
share: str
duration: int
track_position: int
disk_number: int
rank: int
release_date: dt.date
explicit_lyrics: bool
explicit_content_lyrics: int
explicit_content_cover: int
preview: str
bpm: float
gain: float
available_countries: list[str]
alternative: AsyncTrack
contributors: list[AsyncArtist]
md5_image: str
artist: AsyncArtist
album: AsyncAlbum
async get_artist()

Get the artist of the Track.

Return type:

AsyncArtist

async get_album()

Get the album of the Track.

Return type:

AsyncAlbum