Files
fairhopper-sdk/python

FairHopper Python SDK

Requirements:

  • Python 3.7+

Setting up environment

Project uses Poetry, ultimate dependency management software for Python.

Install Poetry:

pip install poetry

Install virtual environment:

poetry install

Running demo

Check demo.py for usage example.

Edit demo.py and configure FairHopper Game host settings:

FAIRHOPPER_HOST = "http://127.0.0.1:8010"

Activate environment and run example:

poetry shell
python demo.py