QueueItem

class yandex_music.queue.queue_item.QueueItem

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

id

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

Type:

str

context

Объект по которому построена очередь.

Type:

yandex_music.Context | None

modified

Дата последнего изменения.

Type:

str

client

Клиент Yandex Music.

Type:

yandex_music.Client, optional

fetch_queue(*args, **kwargs)

Сокращение.

Сокращение для:

client.queue(id, *args, **kwargs)
async fetch_queue_async(*args, **kwargs)

Сокращение.

Сокращение для:

await client.queue(id, *args, **kwargs)
classmethod de_json(data, client)

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

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

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

Returns:

Очередь в списке.

Return type:

yandex_music.QueueItem