Skip to main content

GoodGame Empire websocket engine.

Project description

GGXS

The most advanced API library for interacting with GoodGame Empire.

Description

The most advanced API client library for GoodGame Empire (GGE), enabling automated connection, gameplay actions, and system scripting. Built for Python 3.12+, ggxs is currently in alpha stage—ideal for early adopters exploring automation within GoodGame Empire.

Install

pip install ggxs

Example

from ggxs import GGXS
import asyncio


class Example(GGXS):

    def __init__(self, url, server_header, username, password):
        super().__init__(url, server_header, username, password)
        ## var example
        self.example = None


    ## add your jobs here!
    async def run_jobs(self):
        ## get castles detailes
        await self.get_detailed_castles()

async def main():
    app = Example("wss://ep-live-ro1-game.goodgamestudios.com/", "EmpireEx_15", "My username", "my password")
    await app.connect()
     
asyncio.run(main())

Warning

  • This project is still under development and can cause errors or bugs!
  • Just for education purpose only!
  • I'm not responsible for any action which will be taken by GGE Studios against your account!

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

ggxs-1.1b0.tar.gz (53.7 kB view details)

Uploaded Source

Built Distribution

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

ggxs-1.1b0-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

Details for the file ggxs-1.1b0.tar.gz.

File metadata

  • Download URL: ggxs-1.1b0.tar.gz
  • Upload date:
  • Size: 53.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ggxs-1.1b0.tar.gz
Algorithm Hash digest
SHA256 0aeb35ea003e976a55f517ab7b37e3b17f6c152af1bd3c750aac5a413040f8ad
MD5 ef992486dccad8e5d38c67c4b7b1a9aa
BLAKE2b-256 33498a97c0c1e246cf42e8971ab4c0819450759abc5ca9de572e7e77c60c6504

See more details on using hashes here.

File details

Details for the file ggxs-1.1b0-py3-none-any.whl.

File metadata

  • Download URL: ggxs-1.1b0-py3-none-any.whl
  • Upload date:
  • Size: 78.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ggxs-1.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cd00bb4950b5624fd66b84de9ac7d3e3e99f4715371a1bbf15baa918efd21e5
MD5 2321d79cbc8bed731441d31b5dab0e21
BLAKE2b-256 67879101aa3cc614a15fb93d190dd26a842b1f700ed9faa44f91a9aff2360d59

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