diveharder

A Helldivers 2 API wrapper using the Diveharder API


Keywords
helldivers, 2, api, wrapper, diveharder, community, api-wrapper, api-wrappers, helldivers-2
License
MIT
Install
pip install diveharder==0.1.2

Documentation

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

  1. Clone the repository:

    git clone https://github.com/ajxd2/diveharder-wrapper
    cd diveharder-wrapper
  2. Install Poetry:

    pip install poetry
  3. Build the package:

    poetry build
  4. 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)