ArtistTrailer

class yandex_music.artist.artist_trailer.ArtistTrailer

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

artist

Артист.

Type:

yandex_music.Artist, optional

trailer

Информация о трейлере.

Type:

yandex_music.TrailerInfo, 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.ArtistTrailer