ChanChanAuth-0.0.4
توضیحات
A simple Python wrapper for https://api.ccauth.app/
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ChanChanAuth-0.0.4 |
| نام | ChanChanAuth |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Geographs |
| ایمیل نویسنده | 87452561+Geographs@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/Geographs/ChanChanAuth |
| آدرس اینترنتی | https://pypi.org/project/ChanChanAuth/ |
| مجوز | - |
# ChanChanAuth
Python wrapper for https://api.ccauth.app/
## Examples of Usage
### Login
```py
from chanchanauth import Client
client = Client(AID, APIKEY, SECRET)
response = client.login(USERNAME, PASSWORD, HWID)
if response.is_authenticated:
print("Logged in")
```
### Register
```py
from chanchanauth import Client
client = Client(AID, APIKEY, SECRET)
response = client.register(USERNAME, PASSWORD, HWID, DISCORD, LICENSE)
if response.success:
print("Success")
```
### Reset HWID
```py
from chanchanauth import Client
client = Client(AID, APIKEY, SECRET)
response = client.hwid_reset(USERNAME, PASSWORD, HWID, HWID_KEY)
if response.success:
print("success")
```
### Generate License
```py
from chanchanauth import Admin
admin = Admin(AID, APIKEY, USERNAME, PASSWORD)
response = admin.generate_license()
if response.success:
print(response.license)
```
### Generate HWID Key
```py
from chanchanauth import Admin
admin = Admin(AID, APIKEY, USERNAME, PASSWORD)
response = admin.generate_hwidkey()
if response.success:
print(response.key)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ChanChanAuth-0.0.4:
pip install ChanChanAuth-0.0.4.whl
نصب پکیج tar.gz ChanChanAuth-0.0.4:
pip install ChanChanAuth-0.0.4.tar.gz