A Helldivers 2 API wrapper using the Diveharder API
Project description
DiveharderWrapper For Python
A Helldivers 2 API wrapper using the Diveharder API.
Introduction
This project aims to provide a convenient Python wrapper for the Diveharder API, allowing developers to easily interact with Helldivers 2 game data.
Installation
PyPI
pip install diveharder
Manual
-
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
Usage
Here's a simple example of how to use the DiveharderWrapper:
from diveharder import DiveHarderApiClient
api = DiveHarderApiClient()
print(api.dispatches.get_latest_dispatch().message)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
diveharder-0.1.2.tar.gz
(16.2 kB
view hashes)
Built Distribution
diveharder-0.1.2-py3-none-any.whl
(21.0 kB
view hashes)
Close
Hashes for diveharder-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15ede200cc11029a197136e3c2d21a040c94d381e51e3063f45d21663562f0f2 |
|
MD5 | 5caae0030c79cca96704b5bddecdedec |
|
BLAKE2b-256 | f6a0523bfadc135ddcc2fc88d91dc071847e1356f07e1b0077ea6721f4f2a9b4 |