Skip to content

Commit

Permalink
docs: add python sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Jul 10, 2024
1 parent 8005f17 commit 583deba
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/dev-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ import { Client } from "@gopeed/rest";

More usages please refer to [documentation](https://docs.gopeed.com/site/reference/classes/_gopeed_rest.Client.html).

## Using Python SDK

A Python SDK provided by community user [@tick97115115](https://github.com/tick97115115).

```bash
pip install gospeed_api
```

Github:https://github.com/tick97115115/gospeed_api
Example:https://github.com/tick97115115/gospeed_api/blob/main/tests/test_index.py

## Using HTTP API

Of course, you can also directly call the API through HTTP requests. For details, please refer to the [API documentation](https://docs.gopeed.com/site/openapi/index.html).
11 changes: 11 additions & 0 deletions docs/zh-TW/dev-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ import { Client } 從 "@gopeed/rest";

更多使用方法請參考 [文件](https://docs.gopeed.com/site/reference/classes/_gopeed_rest.Client.html)

## 使用 Python SDK

來自社區用戶 [@tick97115115](https://github.com/tick97115115) 提供的 Python SDK。

```bash
pip install gospeed_api
```

Github:https://github.com/tick97115115/gospeed_api
範例:https://github.com/tick97115115/gospeed_api/blob/main/tests/test_index.py

## 使用 HTTP 請求

當然也可以直接透過 HTTP 請求來呼叫 API,具體請參考 [介面文件](https://docs.gopeed.com/site/openapi/index.html)
11 changes: 11 additions & 0 deletions docs/zh/dev-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ import { Client } from "@gopeed/rest";

更多使用方法请参考 [文档](https://docs.gopeed.com/site/reference/classes/_gopeed_rest.Client.html)

## 使用 Python SDK

来着社区用户 [@tick97115115](https://github.com/tick97115115) 提供的 Python SDK.

```bash
pip install gospeed_api
```

Github:https://github.com/tick97115115/gospeed_api
示例:https://github.com/tick97115115/gospeed_api/blob/main/tests/test_index.py

## 使用 HTTP 请求

当然也可以直接通过 HTTP 请求来调用 API,具体请参考 [接口文档](https://docs.gopeed.com/site/openapi/index.html)

0 comments on commit 583deba

Please sign in to comment.