Skip to main content

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.3.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file AaioAsync-0.1.3.tar.gz.

File metadata

  • Download URL: AaioAsync-0.1.3.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

Hashes for AaioAsync-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6ef5c345212c501000ea4ad2735eb867f978e86ed2c7c7d6f1ccaa7ef44d36b4
MD5 66f6f4d2e411a8fb486f6076a68530bb
BLAKE2b-256 f6c0c9f444d39dd829ca6e76d71f9f81aa4456ad5c127639a68b4c2dc97723cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page