Skip to main content

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 details)

Uploaded Source

File details

Details for the file ChanChanAuth-0.0.4.tar.gz.

File metadata

  • Download URL: ChanChanAuth-0.0.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for ChanChanAuth-0.0.4.tar.gz
Algorithm Hash digest
SHA256 413a06e7fca4fcde9fcb24c465c9f3d9ce63188ee4fc74c61b5959c2b810176e
MD5 04296bb74dbbf192cfd6bf2d84df15dd
BLAKE2b-256 5d9633245934ec0bb6ed9ca76a21832ba5ae4274fc461ebf5770210b361a44d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page