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.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

Metadata

Release files for AaioAsync 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AaioAsync 0.1.10
File Size Uploaded Provenance Actions
AaioAsync-0.1.10.tar.gz 5.4 kB Without provenance Details for AaioAsync-0.1.10.tar.gz

Release files / AaioAsync-0.1.10.tar.gz

Download URL AaioAsync-0.1.10.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
050c03e9c206cf538cca73c34197f204b4f09b62dd2ea2d9a5f310da73acf68d
BLAKE2b-256 checksum
How to use checksums
5102c326f6bd2d9782f0294ff7622e7129746840d25098879813add94875a6d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Security for AaioAsync 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page