Fully async python wrapper for Aaio.io API
Project description
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
Project details
Release history Release notifications | RSS feed
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.10.tar.gz
(5.4 kB
view details)
File details
Details for the file AaioAsync-0.1.10.tar.gz
.
File metadata
- Download URL: AaioAsync-0.1.10.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 050c03e9c206cf538cca73c34197f204b4f09b62dd2ea2d9a5f310da73acf68d |
|
MD5 | 4b67d48c321541bb557566b6a17ce4a4 |
|
BLAKE2b-256 | 5102c326f6bd2d9782f0294ff7622e7129746840d25098879813add94875a6d6 |