A simple Python wrapper for https://api.ccauth.app/
Project description
ChanChanAuth
Python wrapper for https://api.ccauth.app/
Examples of Usage
Login
from chanchanauth import Client
client = Client(AID, APIKEY, SECRET)
response = client.login(USERNAME, PASSWORD, HWID)
if response.is_authenticated:
print("Logged in")
Register
from chanchanauth import Client
client = Client(AID, APIKEY, SECRET)
response = client.register(USERNAME, PASSWORD, HWID, DISCORD, LICENSE)
if response.success:
print("Success")
Reset HWID
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
from chanchanauth import Admin
admin = Admin(AID, APIKEY, USERNAME, PASSWORD)
response = admin.generate_license()
if response.success:
print(response.license)
Generate HWID Key
from chanchanauth import Admin
admin = Admin(AID, APIKEY, USERNAME, PASSWORD)
response = admin.generate_hwidkey()
if response.success:
print(response.key)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ChanChanAuth-0.0.4.tar.gz
(3.4 kB
view hashes)