AaioAsync
Fully async python wrapper for Aaio.io API
Installing
pip install AaioAsync
Code example
import asyncio
from AaioAsync import AaioAsync
aaio = AaioAsync("API Key", "Shop ID", "Secretkey №1")
async def main():
balance = await aaio.getbalance()
print('Доступно >>> ', balance.balance)
print('В холде >>> ', balance.hold)
print('Реферальный >>> ', balance.referral)
info = await aaio.getorderinfo('HelloAaio')
print('ID >>> ', info.order_id)
print('Сумма >>> ', info.amount)
print('Дата >>> ', info.date)
print('Валюта >>>', info.currency)
asyncio.run(main())
Output
Доступно >>> 122783.43
В холде >>> 10267.3
Реферальный >>> 3245.92
ID >>> HelloAaio
Сумма >>> 7510.0
Дата >>> 2023-07-29 23:21:20
Валюта >>> RUB
Docs
Go to https://wiki.aaio.io/ for more information about working with acquiring
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AaioAsync-0.1.9.tar.gz
(4.7 kB
view details)
File details
Details for the file AaioAsync-0.1.9.tar.gz.
File metadata
- Download URL: AaioAsync-0.1.9.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caaf661dc845ae296cd19b28b6b3fa2631e025135209c5f64a5e762eb1be49b9
|
|
| MD5 |
f6b945df6c3d02f9bb547edcf4b6b594
|
|
| BLAKE2b-256 |
ffeeed0893ec829809d3a0460247f418d5a2416ca7bf7412d9557659be705b31
|