Skip to content

A Helldivers 2 API wrapper utilizing the Diveharder Community API

License

Notifications You must be signed in to change notification settings

AJXD2/diveharder-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A Helldivers 2 API wrapper utilizing the Diveharder Community API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages