AJXD2 / helldive.py

A Helldivers 2 API wrapper utilizing the Diveharder Community API

Home Page:http://helldivepy.ajxd2.dev/

Repository from Github https://github.comAJXD2/helldive.pyRepository from Github https://github.comAJXD2/helldive.py

Helldive.py

PyPI PyPI - Downloads GitHub License Python Versions GitHub contributors

A simple Python library for diving deep into the Helldivers Community API and Diveharder API.


πŸ“• Contents

βš™οΈ Installation

To install Helldive.py, just use pip:

pip install helldivepy

πŸš€ Quickstart

Here's a super-quick example to get you diving right in:

import helldivepy

client = helldivepy.ApiClient(user_agent="my-app", user_contact="email@example.com")

# Get the latest dispatches
dispatches = client.dispatch.get_dispatches()

print(dispatches)
# Output example
[
   Dispatch(id=0, published=datetime.datetime, type=0, message='Hello, World 1!'),
   Dispatch(id=1, published=datetime.datetime, type=0, message='Hello, World 2!'),
   Dispatch(id=2, published=datetime.datetime, type=0, message='Hello, World 3!')
 ]

🌟 Features

  • Easy API Access: Communicate with the Helldivers Community API and Diveharder API without breaking a sweat.
  • Typed Data: Get structured, easily readable data like dispatches, planets, and more!
  • Perfect for Projects: Ideal for projects, bots, or just exploring Helldivers data.

πŸ”— Links

About

A Helldivers 2 API wrapper utilizing the Diveharder Community API

http://helldivepy.ajxd2.dev/

License:MIT License


Languages

Language:Python 100.0%