A Cryptic SDK for Python
Project description
Cryptic SDK
A Cryptic Game SDK Library for Python
Installation
pip install cryptic-sdk
Example
from cryptic_sdk import *
USERNAME = 'Username'
PASSWORD = 'Password'
myclient = Client('wss://ws.cryptic-game.net:443/')
print(myclient.request({"action": "status"}))
print(myclient.login(USERNAME, PASSWORD))
devices = myclient.ms('device', ['device', 'all'], {})
print(devices)
print(myclient.ms('device', ['device', 'info'], {'device_uuid': devices['devices'][0]['uuid']}))
print(myclient.logout())
Docs
In Progess: Cryptic SDK Docs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file cryptic_sdk-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: cryptic_sdk-1.1.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d60600e6b44b2c28283a6a044f803924dd2883d0f7ab9754beeb72f07553b464 |
|
MD5 | 540eeb266d7abda20b50f68a8863b7cd |
|
BLAKE2b-256 | 3e10a273d3cdb646e25d78085db43800ef650f8e81694149da5519f27ac7bbad |