cryptic-sdk-1.1.1
توضیحات
A Cryptic SDK for Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cryptic-sdk-1.1.1 |
| نام | cryptic-sdk |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tert0 |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/Tert0/cryptic-sdk |
| آدرس اینترنتی | https://pypi.org/project/cryptic-sdk/ |
| مجوز | MIT |
# 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/)
نیازمندی
| مقدار | نام |
|---|---|
| - | websocket-client |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl cryptic-sdk-1.1.1:
pip install cryptic-sdk-1.1.1.whl
نصب پکیج tar.gz cryptic-sdk-1.1.1:
pip install cryptic-sdk-1.1.1.tar.gz