2019-05-27 17:48:42 +02:00
2019-05-21 14:27:02 +02:00
2019-02-20 16:44:53 +01:00
2019-02-11 12:02:02 +01:00
2019-05-27 17:48:42 +02:00
2019-05-24 14:04:17 +02:00

GOG Galaxy - Community Integration - Python API

This document is still work in progress.

Basic Usage

Basic implementation:

import asyncio
from galaxy.api.plugin import Plugin

class PluginExample(Plugin):
    # implement methods
    async def authenticate(self, stored_credentials=None):
        pass

# run plugin event loop
if __name__ == "__main__":
    asyncio.run(PluginExample().run())

Development

Install required packages:

pip install -r requirements.txt

Run tests:

pytest

Methods Documentation

TODO

Changelog

0.16

  • Do not log sensitive data.
  • Return LocalGameState as int (possible combination of flags).

0.15

  • shutdown() is called on socket disconnection.

0.14

  • Added required version parameter to Plugin constructor.
Description
No description provided
Readme MIT 466 KiB
Languages
Python 100%