DeviceCode
- class yandex_music.device_auth.device_code.DeviceCode
Класс, представляющий код устройства для OAuth Device Flow.
- 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.DeviceCode|None