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.9.tar.gz
(11.0 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.9-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file gjt-2.2.9.tar.gz.
File metadata
- Download URL: gjt-2.2.9.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3c63788a91a2ed80c1f00f8bb16d335344f3c814843a6429a44c3e88fe6f30d
|
|
| MD5 |
df0a3b7cdf466d98b93ab35b1f3d5262
|
|
| BLAKE2b-256 |
e47833f6259cbbfdf88d6797735ca78b4307e9f097c2bdc02d4e111901de81bc
|
File details
Details for the file gjt-2.2.9-py3-none-any.whl.
File metadata
- Download URL: gjt-2.2.9-py3-none-any.whl
- Upload date:
- Size: 13.8 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 |
fe0f92b2afe1b5e9be8a5712c1268f8dd9796aa30b59d385a0868eb9b8f6e7c6
|
|
| MD5 |
d244f0517cdb999e4e99016794c79dc0
|
|
| BLAKE2b-256 |
38ad805ed9edfcbefe5f265fd226b9def5f19ec1cae4f73bf42558ed8f94b866
|