Playlist

class deezer.resources.Playlist(client, json)

To work with Deezer playlist objects.

Check the Deezer documentation for more details about each field.

id: int
title: str
description: str
duration: int
public: bool
is_loved_track: bool
collaborative: bool
nb_tracks: int
unseen_track_count: int
fans: int
share: str
picture: str
picture_small: str
picture_medium: str
picture_big: str
picture_xl: str
checksum: str
creator: deezer.resources.User
tracks: list[deezer.resources.Track]
get_tracks(**kwargs)

Get tracks from a playlist.

Returns

a PaginatedList of Track instances

Return type

deezer.pagination.PaginatedList[deezer.resources.Track]

get_fans(**kwargs)

Get fans from a playlist.

Returns

a PaginatedList of User instances

Return type

deezer.pagination.PaginatedList[deezer.resources.User]