We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1edcd1f commit 2f50299Copy full SHA for 2f50299
1 file changed
README.md
@@ -1,7 +1,7 @@
1
# fastpanel-api
2
NodeJS API client for FastPanel
3
4
-## Example
+## Пример
5
6
```js
7
const api = require('./index');
@@ -13,11 +13,11 @@ Api.auth('fastuser', 'password').then(async () => {
13
});
14
```
15
16
-## Output
+## Вывод
17
18
```bash
19
[FastPanel API by MayerDev] Got token:
20
-<token here>
+Здесь токен
21
{ data:
22
{ action: null,
23
allowed_user_count: 0,
@@ -55,3 +55,13 @@ Api.auth('fastuser', 'password').then(async () => {
55
username: 'fastuser',
56
virtualhost_count: 2 } }
57
58
+
59
+## Методы
60
61
+### _get()
62
63
+Отправка GET запроса к API
64
65
+```js
66
+Api._get('api/me')
67
+```
0 commit comments