Track

class deezer.Track(client, json)

To work with Deezer track objects.

Check the Deezer documentation for more details about each field.

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: Track
contributors: list[Artist]
md5_image: str
artist: Artist
album: Album
get_artist()

Get the artist of the Track.

Returns

the Artist of the Album

Return type

deezer.resources.artist.Artist

get_album()

Get the album of the Track.

Returns

the Album instance

Return type

Album