Skip to main content

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

Static Badge

Authors:

  • Authors
  • 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


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.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gjt-2.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file gjt-2.1.tar.gz.

File metadata

  • Download URL: gjt-2.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for gjt-2.1.tar.gz
Algorithm Hash digest
SHA256 dbdb15704dd1415b1af87e9ed24b9d0aed20b73637525dd596d7f658613f99c8
MD5 f3daf0cc87de1220467076d6a1f438f0
BLAKE2b-256 90ee438318873310c86527bfcd3d73243c325be51aa03c4596608e5d30517ce1

See more details on using hashes here.

File details

Details for the file gjt-2.1-py3-none-any.whl.

File metadata

  • Download URL: gjt-2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for gjt-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b84970ab5fae20e511457acc2e7c9835e6ff1a2401d4016956332da519d806
MD5 9ae78e2f7e7560de7f94de7226f0b26b
BLAKE2b-256 52b92e4e4ca7013d4ebb158d12bd7ad3c43c7d6296e3d9b3e31c2eb8ef315658

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page