Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tert0/cryptic-sdk
A Cryptic SDK for Python
https://github.com/tert0/cryptic-sdk
hacktoberfest python sdk wrapper wrapper-api wrapper-library
Last synced: 16 days ago
JSON representation
A Cryptic SDK for Python
- Host: GitHub
- URL: https://github.com/tert0/cryptic-sdk
- Owner: Tert0
- License: mit
- Created: 2021-02-22T09:09:17.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T13:36:18.000Z (almost 4 years ago)
- Last Synced: 2024-12-07T22:12:53.832Z (about 1 month ago)
- Topics: hacktoberfest, python, sdk, wrapper, wrapper-api, wrapper-library
- Language: Python
- Homepage:
- Size: 2.8 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cryptic SDK
A [Cryptic Game](https://github.com/cryptic-game/cryptic) SDK Library for Python
## Installation
```pip install cryptic-sdk```
## Example```python
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](https://cryptic-sdk.readthedocs.io/en/latest/)