A Helldivers 2 API wrapper using the Diveharder API.
This project aims to provide a convenient Python wrapper for the Diveharder API, allowing developers to easily interact with Helldivers 2 game data.
pip install diveharder
-
Clone the repository:
git clone https://github.com/ajxd2/diveharder-wrapper cd diveharder-wrapper
-
Install Poetry:
pip install poetry
-
Build the package:
poetry build
-
Install the package using the
.whl
file:python -m venv venv # On Windows source venv/Scripts/activate # On Unix or MacOS source venv/bin/activate pip install dist/diveharder-*.whl
Here's a simple example of how to use the DiveharderWrapper:
from diveharder import DiveHarderApiClient
api = DiveHarderApiClient()
print(api.dispatches.get_latest_dispatch().message)