MetatagTree

class yandex_music.metatag.metatag_tree.MetatagTree

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

Note

Известные значения поля navigation_id: moods, activities, genres, epochs.

title

Название раздела.

Type:

str, optional

navigation_id

Идентификатор раздела навигации.

Type:

str, optional

leaves

Листы раздела с метатегами.

Type:

list из yandex_music.MetatagLeaf

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.MetatagTree