Python library to interact with Goodgame Empire websocket server.
Project description
Green Jasmine Tea (gjt)
A python library to connect and interact with Goodgame Empire websocket servers
Authors:
Deployment
To install this library run
pip install gjt
Demo
from gjt import connect_to_websocket, login_to_account
async def main():
async with connect_to_websocket("PL1") as ws:
print("Connected with websocket")
await login_to_account("Account", "Password")
# Sending a JSON Message
data = await ws.send_json("gcm", json_data, True)
print(data) # {"S": {"TT": 100, "PT": 0}}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gjt-2.2.6.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gjt-2.2.6-py3-none-any.whl
(13.0 kB
view details)
File details
Details for the file gjt-2.2.6.tar.gz.
File metadata
- Download URL: gjt-2.2.6.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e3f19bc43376f661180bc5058602e9fcf79d0f90abdf4a09bc179aadea149f
|
|
| MD5 |
7c2a3f583536faf36e6b993a913e5dbd
|
|
| BLAKE2b-256 |
676e685a45eeca6b4c1c261588f0d3d345aa6b47dfc587cf670794d89cebb3d1
|
File details
Details for the file gjt-2.2.6-py3-none-any.whl.
File metadata
- Download URL: gjt-2.2.6-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c18a139034139ccf59710c1babae9505afe750e285cee8d0708e402c87b6a87f
|
|
| MD5 |
492e15ce9be95d63026fc0bd35beb54b
|
|
| BLAKE2b-256 |
62c1cb6f5303699af8df4c8be40ae36e56e8574afccda8d805b34a6bd51c36d9
|