ArtistDonations

class yandex_music.artist.artist_donations.ArtistDonations

Класс, представляющий блок донатов артиста.

donations

Список донатов.

Type:

list из yandex_music.ArtistDonationItem, optional

client

Клиент Yandex Music.

Type:

yandex_music.Client, optional

classmethod de_json(data, client)

Десериализация объекта.

Parameters:
  • data (dict) – Поля и значения десериализуемого объекта.

  • client (yandex_music.Client, optional) – Клиент Yandex Music.

Returns:

Блок донатов артиста.

Return type:

yandex_music.ArtistDonations