yandex_music.rotor.dashboard#

class yandex_music.rotor.dashboard.Dashboard(dashboard_id: str, stations: List[StationResult], pumpkin: bool, client: Optional[Client] = None)#

Bases: YandexMusicObject

Класс, представляющий рекомендованные станций пользователя.

dashboard_id#

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

Type

str

stations#

Станции со всеми возможными настройками и параметрами.

Type

list из yandex_music.StationResult

pumpkin#

Хэллоуин.

Type

bool

client#

Клиент Yandex Music.

Type

yandex_music.Client, optional

client: Optional[Client] = None#
dashboard_id: str#
classmethod de_json(data: dict, client: Client) Optional[Dashboard]#

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

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

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

Returns

Рекомендованные станций пользователя.

Return type

yandex_music.Dashboard

pumpkin: bool#
stations: List[StationResult]#