You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -17,46 +17,51 @@ A simple, lightweight, and efficient static library for integrating Yandex.Disk
17
17
18
18
🔥 Now available on vcpkg – install in one command!
19
19
20
-
You can quickly install the library using [vcpkg](#-new-installation-via-vcpkg-is-now-available)
20
+
You can quickly install the library using [vcpkg](#-installation-via-vcpkg)
21
21
22
22
---
23
23
24
24
## ✨ Features
25
25
26
-
-**Full API Coverage:**
27
-
Upload and download files and directories, manage directories, move and rename resources, handle trash operations, publish/unpublish files, and retrieve public download links
26
+
-**Wide API Coverage:**
27
+
Upload and download files and directories, manage directories, move and rename resources, handle trash operations, publish and unpublish files, and retrieve public links
28
28
29
29
-**Robust File Management:**
30
-
Recursive upload/download of directories, existence checks, and detailed resource information retrieval
30
+
Recursive upload and download of directories, existence checks, and detailed resource information retrieval
31
31
32
32
-**Trash Support:**
33
-
List trash contents, restore files/folders to original locations, delete individual items or empty the entire trash
33
+
List trash contents, restore files or folders to original locations, delete individual items, or empty the entire trash
34
34
35
35
-**Search Functionality:**
36
-
Find files and folders by name both on the disk and in the trash, supporting recursive search and multiple matches
36
+
Find files and folders by name both on the disk and in the trash, with recursive search support
37
37
38
38
-**Cross-Platform Compatibility:**
39
-
Works on Windows, Linux, and macOS with support for Unicode paths
39
+
Works on Windows, Linux, and macOS with Unicode path support
40
40
41
41
-**Minimal Dependencies:**
42
-
Depends only on`libcurl` for HTTP communication and `nlohmann/json` for JSON parsing
42
+
Uses only `libcurl` for HTTP communication and `nlohmann/json` for JSON parsing
43
43
44
44
-**Easy Integration:**
45
-
Provided as a static library with a clean header interface for straightforward inclusion in your projects
45
+
Provided as a static library with a clean public header interface for straightforward use in CMake projects
46
46
47
47
---
48
48
49
49
## 📁 Project Structure
50
-
```
50
+
51
+
```text
51
52
yandex-disk-cpp-client/
52
-
├── docs # Generated documentation via Doxygen
53
+
├── .github/workflows/ # GitHub Actions CI
54
+
├── cmake/ # Package config templates
55
+
├── docs/ # Generated Doxygen documentation and extra docs
53
56
├── examples/ # Example usage programs
54
-
├── include/ # Public headers (YandexDiskClient.h)
├── tests/ # Unit tests and test CMake configuration
60
+
├── CMakeLists.txt # Root build configuration
61
+
├── vcpkg.json # vcpkg manifest dependencies
57
62
├── README.md # This file
58
63
├── LICENSE # License file
59
-
├── .gitignore # Git ignore rules
64
+
└── .gitignore # Git ignore rules
60
65
```
61
66
62
67
---
@@ -65,63 +70,81 @@ yandex-disk-cpp-client/
65
70
66
71
### 🛠️ Prerequisites
67
72
68
-
- C++17 compatible compiler (GCC, Clang, MSVC)
73
+
- C++17 compatible compiler
69
74
- CMake 3.28 or newer
70
-
- libcurl
71
-
- nlohmann/json
72
-
- Environment variable `YADISK_TOKEN` with your Yandex.Disk OAuth token **(full disk access)**
75
+
-[vcpkg](https://github.com/microsoft/vcpkg)
76
+
- Yandex.Disk OAuth token with the required permissions
77
+
78
+
### 🔑 OAuth Token
79
+
80
+
Set the `YADISK_TOKEN` environment variable before running examples or your own application.
81
+
82
+
Detailed step-by-step instructions for registering a Yandex OAuth application and obtaining a token are available in [`docs/OAUTH_TOKEN.md`](docs/OAUTH_TOKEN.md).
Full API documentation is generated using Doxygen and available in the `docs/` folder
188
-
You can also access the online documentation via GitHub Pages [](https://Krasnovvvvv.github.io/yandex-disk-cpp-client/)
207
+
API documentation is generated with Doxygen and published from the `docs/` directory.
0 commit comments