Overview #
This quickstart guides you through:
It is intended for developers who want to integrate the Hiro Python client into their applications. It assumes that you have basic knowledge of:
- Python programming
- Dependency management with pip
- Environment variables
Installation #
Requirements #
- Python 3.8+ (tested on Python 3.8.1 and 3.12.4)
- pip package manager
- Obtain access to the Python client from Heroic Labs. Contact us if you don’t have access yet.
Install Dependencies #
Install the required dependencies using pip in the directory that contains pyproject.toml:
| |
Usage #
Once you have the client and have followed the installation steps, you can import the Hiro and Nakama libraries to the project:
| |
For this guide we will also be using:
| |
Set up the Nakama client:
| |
Authenticate the user:
| |
Create the Hiro client:
| |
Next Steps #
Now that you’ve completed this getting started, explore these resources to learn more about the Hiro Python client and Nakama server integration:
