Skip to main content

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

  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)

Project details


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)

Uploaded Source

Built Distribution

diveharder-0.1.2-py3-none-any.whl (21.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page