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.2.5.tar.gz (10.2 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.2.5-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gjt-2.2.5.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

Hashes for gjt-2.2.5.tar.gz
Algorithm Hash digest
SHA256 c3961bbc9f034a3c7185fbda7bb7805123cb3e99dc4c260fef621a9b0dd4d889
MD5 53891e013f4bfacc4f7cdb97b643d5fd
BLAKE2b-256 6df7ac2531187e31f9b1131fa00a1b5d67c24614d0fe7204dd29e174fdfe6f87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gjt-2.2.5-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

Hashes for gjt-2.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b1bad5347e5feb6df1061af9ecb7d32cf4bc3f3dd478d7842d572e05cd5dad60
MD5 59484b9cc744891e0b8376b89e7f2bb3
BLAKE2b-256 a4ef85061c5d2ab5f5fbc134a3ea70dc0725220974ee31efeeccda859a57d8e5

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