balderich-1.3
توضیحات
A Python library for the NSSCTF Balderich API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | balderich-1.3 |
| نام | balderich |
| نسخه کتابخانه | 1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | NSSCTF |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/NSSCTF/balderich-py |
| آدرس اینترنتی | https://pypi.org/project/balderich/ |
| مجوز | - |
# balderich-py
[](https://github.com/cryptography-wiki/cryptography-wiki.github.io/issues)
[](https://github.com/cryptography-wiki/cryptography-wiki.github.io/network/members)
[](https://github.com/cryptography-wiki/cryptography-wiki.github.io/stargazers)

* [NSSCTF](https://www.ctfer.vip/)平台API Python包,你可以使用此库来和Balderich后端进行快速交互。编写属于你的自动化bot。
## 安装
* 你可以直接使用pip来进行安装本包
```python
pip install balderich
```
* **请注意**:你需要使用Python3.8及以上版本来安装本包。
## 使用
* 你可以通过以下方式来快速的创建一个客户端
```python
import balderich
# 直接传入字符串
client = balderich.NSSClient(key='xxx',
secret='xxxx')
# 传入配置文件路径
client = balderich.NSSClient(balderich.AuthConfig('config.json'))
# 传入配置文件IO流
client = balderich.NSSClient(balderich.AuthConfig(open('config.json', 'rb')))
```
然后你便可以开始使用客户端下各模块API来进行交互,例如查询用户信息
```python
data = client.user.get_user_info(1)
print(data)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl balderich-1.3:
pip install balderich-1.3.whl
نصب پکیج tar.gz balderich-1.3:
pip install balderich-1.3.tar.gz