@BlitzkriegAutobot asynchronous api wrapper
Project description
@BlitzkriegAutobot asynchronous api wrapper
Docs: https://blitzkriegpublicapi.readme.io/
Install
pip install aioblitzkrieg
Basic methods
from aioblitzkrieg import AioBlitzkrieg
client = AioBlitzkrieg(api_key='863...e12')
me = await client.get_me()
archives = await client.get_archives()
report = await client.report_archive(archive_id_id=1)
prices = await client.get_prices('usd')
print(me, archives, report, prices, sep='\n')
Upload archive method
from aioblitzkrieg import AioBlitzkrieg
client = AioBlitzkrieg(api_key='863...e12')
path = "sample.zip"
result = await client.upload_archive(
file_path=path
)
print(result)
# Upload archive via unique identifier of the referral partner
ref_id = 'MY_SERVICE_REF_ID'
result = await client.upload_archive(
file_path=path,
ref_id=ref_id
)
print(result)
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
aioblitzkrieg-0.2.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioblitzkrieg-0.2.tar.gz.
File metadata
- Download URL: aioblitzkrieg-0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d5102443e4fc2f381686548e5cad8f299d7dbd8f1a10928c7537b5d3f9fe944
|
|
| MD5 |
2fd5675fd09ce2488c044f81ebeea4d5
|
|
| BLAKE2b-256 |
4c12e68b445414c9a73813cdd116a9e1b185edc82dd450a553a65a032782f972
|
File details
Details for the file aioblitzkrieg-0.2-py3-none-any.whl.
File metadata
- Download URL: aioblitzkrieg-0.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ca284599bb23a7684f098d9466645ffae4473a696ef84228ab911074ca83eb9
|
|
| MD5 |
1085301603b5fcaeff034f79daf19a90
|
|
| BLAKE2b-256 |
def06f584f82ec91f02f89cfd8bdad119e248629e1482f49c15ef9e037b65ead
|