ChartInfo

class yandex_music.landing.chart_info.ChartInfo

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

id

Уникальный идентификатор блока.

Type:

str

type

Тип блока.

Type:

str

type_for_from

Откуда получен блок (как к нему пришли).

Type:

str

title

Заголовок.

Type:

str

menu

Меню TODO.

Type:

yandex_music.ChartInfoMenu, optional

chart

Плейлист.

Type:

yandex_music.Playlist, optional

chart_description

Описание.

Type:

str, 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.ChartInfo