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.referal)
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.5.tar.gz
(4.8 kB
view details)
File details
Details for the file AaioAsync-0.1.5.tar.gz.
File metadata
- Download URL: AaioAsync-0.1.5.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b8922b8843b98355f962726f2e50a5ace221ea3e090a73dfeec21828d029d5a
|
|
| MD5 |
ea7d694a3e475a568aed5e791d9076d6
|
|
| BLAKE2b-256 |
489dd9961a3b21fbe7f6bbac0675d006b8a64dbfc48ed7c3cdd26c88800c28ab
|