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/helldive.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


⚙️ 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.

🛠️ Contributing

Contributions are always welcome! If you’d like to make changes, feel free to submit a pull request. For major updates, open an issue first to discuss your ideas.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A Helldivers 2 API wrapper utilizing the Diveharder Community API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages