Skip to main content

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

cryptic_sdk-1.1.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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