# DiveharderWrapper For Python
A Helldivers 2 API wrapper using the [Diveharder API](https://github.com/helldivers-2/diveharder_api.py).
## 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
```sh
pip install diveharder
```
### Manual
1. Clone the repository:
```sh
git clone https://github.com/ajxd2/diveharder-wrapper
cd diveharder-wrapper
```
2. Install Poetry:
```sh
pip install poetry
```
3. Build the package:
```sh
poetry build
```
4. Install the package using the `.whl` file:
```sh
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:
```python
from diveharder import DiveHarderApiClient
api = DiveHarderApiClient()
print(api.dispatches.get_latest_dispatch().message)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ajxd2/diveharder-wrapper",
"name": "diveharder",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "helldivers 2, api, wrapper, diveharder, community",
"author": "AJXD2",
"author_email": "anthonyjohnkovach@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dd/63/50718a0eada4ea1a5a3fe8fc63a879fbd9b7ff1f964dbdcb32530d60ae96/diveharder-0.1.2.tar.gz",
"platform": null,
"description": "# DiveharderWrapper For Python\n\nA Helldivers 2 API wrapper using the [Diveharder API](https://github.com/helldivers-2/diveharder_api.py).\n\n## Introduction\n\nThis project aims to provide a convenient Python wrapper for the Diveharder API, allowing developers to easily interact with Helldivers 2 game data.\n\n## Installation\n\n### PyPI\n\n```sh\npip install diveharder\n```\n\n### Manual\n1. Clone the repository:\n\n ```sh\n git clone https://github.com/ajxd2/diveharder-wrapper\n cd diveharder-wrapper\n ```\n\n2. Install Poetry:\n\n ```sh\n pip install poetry\n ```\n\n3. Build the package:\n\n ```sh\n poetry build\n ```\n\n4. Install the package using the `.whl` file:\n\n ```sh\n python -m venv venv\n # On Windows\n source venv/Scripts/activate\n # On Unix or MacOS\n source venv/bin/activate\n pip install dist/diveharder-*.whl\n ```\n\n## Usage\n\nHere's a simple example of how to use the DiveharderWrapper:\n\n```python\nfrom diveharder import DiveHarderApiClient\n\napi = DiveHarderApiClient()\n\nprint(api.dispatches.get_latest_dispatch().message)\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Helldivers 2 API wrapper using the Diveharder API",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/ajxd2/diveharder-wrapper"
},
"split_keywords": [
"helldivers 2",
" api",
" wrapper",
" diveharder",
" community"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f6a0523bfadc135ddcc2fc88d91dc071847e1356f07e1b0077ea6721f4f2a9b4",
"md5": "5caae0030c79cca96704b5bddecdedec",
"sha256": "15ede200cc11029a197136e3c2d21a040c94d381e51e3063f45d21663562f0f2"
},
"downloads": -1,
"filename": "diveharder-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5caae0030c79cca96704b5bddecdedec",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 21033,
"upload_time": "2024-06-12T04:13:26",
"upload_time_iso_8601": "2024-06-12T04:13:26.905643Z",
"url": "https://files.pythonhosted.org/packages/f6/a0/523bfadc135ddcc2fc88d91dc071847e1356f07e1b0077ea6721f4f2a9b4/diveharder-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dd6350718a0eada4ea1a5a3fe8fc63a879fbd9b7ff1f964dbdcb32530d60ae96",
"md5": "1fb468173f601ebac304ba0c3a08440d",
"sha256": "41bf40767bb625e6f24df713763933c9453fc022cde48b0e2542482344a9b5c4"
},
"downloads": -1,
"filename": "diveharder-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1fb468173f601ebac304ba0c3a08440d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 16209,
"upload_time": "2024-06-12T04:13:27",
"upload_time_iso_8601": "2024-06-12T04:13:27.979709Z",
"url": "https://files.pythonhosted.org/packages/dd/63/50718a0eada4ea1a5a3fe8fc63a879fbd9b7ff1f964dbdcb32530d60ae96/diveharder-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-12 04:13:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ajxd2",
"github_project": "diveharder-wrapper",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "diveharder"
}