Skip to content

Commit

Permalink
Обновление документации
Browse files Browse the repository at this point in the history
  • Loading branch information
K1llMan committed Oct 5, 2024
1 parent 5d126d3 commit 51dbd23
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 5 deletions.
12 changes: 12 additions & 0 deletions docs/source/api/branches/ynison.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
YYnisonAPI
==================================================================

------------------------------------------------------------------
Методы
------------------------------------------------------------------

``` csharp
public YnisonListener Connect(AuthStorage storage)
```

Подключение к Унисон.
5 changes: 4 additions & 1 deletion docs/source/api/root.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ YandexMusicAPI
API для взаимодействия с пользовательскими данными.
:doc:`User <branches/ugc>`
API для взаимодействия с загружаемым пользователем содержимым.
:doc:`User <branches/ynison>`
API для взаимодействия с Унисон.

.. toctree::
:hidden:
Expand All @@ -48,4 +50,5 @@ YandexMusicAPI
branches/search
branches/track
branches/user
branches/ugc
branches/ugc
branches/ynison
8 changes: 7 additions & 1 deletion docs/source/client/root.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,10 @@ YandexMusicClient
public List<YArtist> GetArtistsByLabel(YLabel label, int page = 0)
Получение списка артистов лейбла.
Получение списка артистов лейбла.

.. code-block:: csharp
public void ConnectToYnison()
Подключение к Унисон. Слушатель доступен через свойство клиента Ynison.
13 changes: 12 additions & 1 deletion docs/source/common/auxiliary/auth-storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AuthStorage
==================================================================

Для взаимодействия с функциями API используется несколько вспомогательных классов,
хранящих в себе информацию о пользователе, а также настройки выполнения.
хранящих в себе информацию о пользователе, устройстве, а также настройки выполнения.

------------------------------------------------------------------
Свойства
Expand All @@ -23,6 +23,11 @@ AuthStorage

**Type**: bool

**DeviceId**
Идентификатор устройства.

**Type**: string

**Token**
Токен авторизации.

Expand All @@ -43,6 +48,12 @@ AuthStorage
Конструктор.

.. code-block:: csharp
public AuthStorage(IRequestProvider provider, DebugSettings settings = null)
Конструктор.

.. code-block:: csharp
public void SetProxy(IWebProxy proxy)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# -- Project information -----------------------------------------------------

project = 'Yandex Music API'
copyright = '2023, K1llM@n'
copyright = '2024, K1llM@n'
author = 'K1llM@n, based on Winster332 project'

language = 'ru'
Expand Down
2 changes: 1 addition & 1 deletion docs/source/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ API переделано под работу с API официального п

[Telegram-чат](https://t.me/yandex_music_api)

Выражаю благодарность [участвовашим в разработке](https://github.com/K1llMan/Yandex.Music.Api/graphs/contributors).
Выражаю благодарность [участвовавшим в разработке](https://github.com/K1llMan/Yandex.Music.Api/graphs/contributors).

```{include} ../../CHANGELOG.md
```
Expand Down
2 changes: 2 additions & 0 deletions src/Yandex.Music.Api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ YandexMusicApi
│   ├── UploadUgcTrack / Async (AuthStorage storage, string uploadLink, string filePath)
│   ├── UploadUgcTrack / Async (AuthStorage storage, string uploadLink, Stream stream)
│   └── UploadUgcTrack / Async (AuthStorage storage, string uploadLink, byte[] file)
├── Ynison
│   └── Connect (AuthStorage storage)
└── Future
   ...
```
Expand Down

0 comments on commit 51dbd23

Please sign in to comment.