Destipy
This is a asynchronous Python Wrapper around the Bungie API. It allows one to send requests to all given endpoints of the Bungie API seen in their Bungie.Net API Documentation.
NOTE:
- The endpoints are parsed from the API documentation and are therefore not tested, some of them might not work or are missing parameters due to inconsistencies in the documentation.
- Some of the code is inspired or taken from pydest and aiobungie so check them out!
Features
- Every endpoint in the documentation is implemented, POST and GET.
- Download and Extraction of the manifest to a .content file.
- Download and Extraction of the manifest to a MongoDB database (COMING SOON).
- Logging with own logger or with the default logger by adding a file "logs/Destipy.log" ('logs' being a folder) in the root folder.
Examples
Here are a few examples:
Requirements
- aiohttp
Install Destipy:
pip install Destipy
In you project you can use it as a simple client without authentication by initialize a client with your Api Key like this:
from destipy.destiny_client import DestinyClient
client = DestinyClient(<API_KEY>)
user = await client.user.GetBungieNetUserById(<MEMBERSHIP_ID>)
If you plan on using a specific category of endpoints multiple times you can also use the endpoint category itself as a class:
from destipy.destiny_client import DestinyClient
client = DestinyClient(<API_KEY>)
user_endpoints = client.user
user = await user_endpoints.GetBungieNetUserById(<MEMBERSHIP_ID>)
Contact
Discord: sedam79
Metadata
Release files for Destipy 0.81
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Destipy-0.81.tar.gz | 162.7 kB | Without provenance | Details for Destipy-0.81.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Destipy-0.81-py3-none-any.whl | Python 3 | none | any | Details for Destipy-0.81-py3-none-any.whl |
Total release size: 336.2 kB
Release files / Destipy-0.81.tar.gz
| Download URL | Destipy-0.81.tar.gz |
|---|---|
| Size | 162.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52c41ab973ea30e31f0732d670e936f1f7961a94c789139594fc84a4976af3cd
|
|
BLAKE2b-256 checksum How to use checksums |
0977b07c360899988f0d351943d649b3411615ed4502824427bc97fb4145cd26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / Destipy-0.81-py3-none-any.whl
| Download URL | Destipy-0.81-py3-none-any.whl |
|---|---|
| Size | 173.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e043cc428b87e4532c6c512f00d7280ef5a5136868819109e7162dbf2f692196
|
|
BLAKE2b-256 checksum How to use checksums |
77a38040648f06207beced384a80802e42f76d554c26399ed3c57326089adacb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for Destipy 0.81
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.