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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gjt-2.2.tar.gz
  • Upload date:
  • Size: 8.8 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.tar.gz
Algorithm Hash digest
SHA256 2b7944f16d46f6d66a37eb86950bbe912f7ac92b8b1a37f20a86927ff874ed9d
MD5 2b1a6b2a162441301ceed605fb601eac
BLAKE2b-256 35f3c74b4b74cfc29d426785b2e91712bd7898704780c559adf821c0b3871488

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gjt-2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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-py3-none-any.whl
Algorithm Hash digest
SHA256 119130e29cf33cadb09a7de8832af58946d6b0fb3e228270ad6677b18293bd14
MD5 3b0d073cbf4db0113b02937877bd5e51
BLAKE2b-256 d92a5654711bc8ef7de8587c388db1cce25f1fc8e51675d22d28fd4dcc09c7c5

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