Catalog PyPI
PACKAGE EXPLORERView in registry

aaio

PyPI

Async AAIO api wrapper for python

apipayments
Versions collected1
Direct dependencies2From release 1.4.2
Last observed20 Oct, 16:56 UTC

README

Version 1.4.2 documentation

AAIO API for Python 3

About

This library is a wrapper for the https://aaio.so API from enthusiast. All methods are described and all types are explicitly defined. Methods that create requests to aaio.so return a pydantic's models for each response. Please write about all problems related to the library to issues

API is up-to-date as of 06 September 2024.

Features

  • It's completely asynchronous
  • You can use multiple clients to work with multiple users or shops
  • All methods for working with API are implemented
  • The library returns strictly typed for responses from APIs
  • For each method, docstrings are used
  • The library handle {type: error} responses and throws AAIOBadRequest exception
  • Our library was the first to be added to the official AAIO wiki
  • Modern, strict code for Python 3.7

Library Installation

  • Install via pip: pip install aaio
  • Download sources - git clone https://github.com/kewldan/AAIO

Getting Started

Get user balance

import asyncio

from aaio import AAIO


async def main():
    client = AAIO('MERCHANT ID', 'SECRET KEY', 'API KEY')
    balances = await client.get_balances()
    print(balances)  # type='success' code=None message=None balance=625.85 referral=172.96 hold=0.0


asyncio.run(main())

Create payment URL for customer

import asyncio

from aaio import AAIO


async def main():
    client = AAIO('MERCHANT ID', 'SECRET KEY', api_key='API KEY')
    
    
    # New way to create payments
    payment_url = await client.get_pay_url(100, 'my_order_id', 'My order description', 'qiwi', 'support@aaio.so',
                                        'referral code', currency='USD',
                                        language='en')
    print(payment_url)  # Prints payment url for customer
    
    
    # DEPRECATED METHOD
    payment_url = client.create_payment(100, 'my_order_id', 'My order description', 'qiwi', 'support@aaio.so',
                                        'referral code', currency='USD',
                                        language='en')
    print(payment_url)
    ###################


asyncio.run(main())

Create payoff

import asyncio

from aaio import AAIO


async def main():
    client = AAIO('MERCHANT ID', 'SECRET KEY', api_key='API KEY')
    payoff = await client.create_payoff('qiwi', 100.35, '79998887766', 'my_payoff_id')
    print(payoff.status)  # in_progress


asyncio.run(main())

Contact

License

Released under MIT by @kewldan.

Downloads & popularity

12downloads
1-day window · source-reported counts19 Oct 2026
6130.50
2026-07-22: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-22–2026-07-222026-07-23: 5 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-23–2026-07-232026-07-24: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-24–2026-07-242026-07-27: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-27–2026-07-272026-07-28: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-28–2026-07-282026-07-29: 18 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-29–2026-07-292026-07-30: 6 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-30–2026-07-302026-07-31: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-07-31–2026-07-312026-08-01: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-01–2026-08-012026-08-02: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-02–2026-08-022026-08-03: 19 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-03–2026-08-032026-08-04: 8 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-04–2026-08-042026-08-05: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-05–2026-08-052026-08-06: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-06–2026-08-062026-08-07: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-07–2026-08-072026-08-09: 8 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-09–2026-08-092026-08-10: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-10–2026-08-102026-08-11: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-11–2026-08-112026-08-12: 5 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-12–2026-08-122026-08-13: 6 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-13–2026-08-132026-08-14: 7 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-14–2026-08-142026-08-16: 13 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-16–2026-08-162026-08-17: 10 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-17–2026-08-172026-08-18: 54 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-18–2026-08-182026-08-20: 7 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-20–2026-08-202026-08-21: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-21–2026-08-212026-08-23: 5 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-23–2026-08-232026-08-24: 22 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-24–2026-08-242026-08-25: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-25–2026-08-252026-08-26: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-26–2026-08-262026-08-27: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-27–2026-08-272026-08-28: 6 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-28–2026-08-282026-08-29: 5 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-29–2026-08-292026-08-30: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-30–2026-08-302026-08-31: 6 · observed 2026-10-20T18:52:17.5632729Z · period 2026-08-31–2026-08-312026-09-01: 17 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-01–2026-09-012026-09-02: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-02–2026-09-022026-09-03: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-03–2026-09-032026-09-04: 3 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-04–2026-09-042026-09-05: 6 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-05–2026-09-052026-09-07: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-07–2026-09-072026-09-08: 3 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-08–2026-09-082026-09-09: 3 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-09–2026-09-092026-09-10: 3 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-10–2026-09-102026-09-11: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-11–2026-09-112026-09-12: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-12–2026-09-122026-09-13: 6 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-13–2026-09-132026-09-15: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-15–2026-09-152026-09-17: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-17–2026-09-172026-09-18: 7 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-18–2026-09-182026-09-19: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-19–2026-09-192026-09-20: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-20–2026-09-202026-09-21: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-21–2026-09-212026-09-22: 3 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-22–2026-09-222026-09-23: 10 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-23–2026-09-232026-09-24: 22 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-24–2026-09-242026-09-25: 20 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-25–2026-09-252026-09-26: 9 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-26–2026-09-262026-09-27: 7 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-27–2026-09-272026-09-28: 15 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-28–2026-09-282026-09-29: 11 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-29–2026-09-292026-09-30: 4 · observed 2026-10-20T18:52:17.5632729Z · period 2026-09-30–2026-09-302026-10-01: 7 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-01–2026-10-012026-10-02: 12 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-02–2026-10-022026-10-03: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-03–2026-10-032026-10-04: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-04–2026-10-042026-10-05: 3 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-05–2026-10-052026-10-06: 61 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-06–2026-10-062026-10-07: 7 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-07–2026-10-072026-10-08: 8 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-08–2026-10-082026-10-09: 25 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-09–2026-10-092026-10-10: 34 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-10–2026-10-102026-10-11: 1 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-11–2026-10-112026-10-12: 2 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-12–2026-10-122026-10-13: 13 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-13–2026-10-132026-10-14: 19 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-14–2026-10-142026-10-15: 7 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-15–2026-10-152026-10-16: 10 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-16–2026-10-162026-10-17: 14 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-17–2026-10-172026-10-18: 10 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-18–2026-10-182026-10-19: 12 · observed 2026-10-20T18:52:17.5632729Z · period 2026-10-19–2026-10-19
22 Jul19 Oct

pypistats · 81 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-19 – 2026-10-19122026-10-20T18:52:17.5632729Z
2026-10-18 – 2026-10-18102026-10-20T18:52:17.5632729Z
2026-10-17 – 2026-10-17142026-10-20T18:52:17.5632729Z
2026-10-16 – 2026-10-16102026-10-20T18:52:17.5632729Z
2026-10-15 – 2026-10-1572026-10-20T18:52:17.5632729Z
2026-10-14 – 2026-10-14192026-10-20T18:52:17.5632729Z
2026-10-13 – 2026-10-13132026-10-20T18:52:17.5632729Z
2026-10-12 – 2026-10-1222026-10-20T18:52:17.5632729Z
2026-10-11 – 2026-10-1112026-10-20T18:52:17.5632729Z
2026-10-10 – 2026-10-10342026-10-20T18:52:17.5632729Z
2026-10-09 – 2026-10-09252026-10-20T18:52:17.5632729Z
2026-10-08 – 2026-10-0882026-10-20T18:52:17.5632729Z
2026-10-07 – 2026-10-0772026-10-20T18:52:17.5632729Z
2026-10-06 – 2026-10-06612026-10-20T18:52:17.5632729Z
2026-10-05 – 2026-10-0532026-10-20T18:52:17.5632729Z
2026-10-04 – 2026-10-0422026-10-20T18:52:17.5632729Z
2026-10-03 – 2026-10-0322026-10-20T18:52:17.5632729Z
2026-10-02 – 2026-10-02122026-10-20T18:52:17.5632729Z
2026-10-01 – 2026-10-0172026-10-20T18:52:17.5632729Z
2026-09-30 – 2026-09-3042026-10-20T18:52:17.5632729Z
2026-09-29 – 2026-09-29112026-10-20T18:52:17.5632729Z
2026-09-28 – 2026-09-28152026-10-20T18:52:17.5632729Z
2026-09-27 – 2026-09-2772026-10-20T18:52:17.5632729Z
2026-09-26 – 2026-09-2692026-10-20T18:52:17.5632729Z
2026-09-25 – 2026-09-25202026-10-20T18:52:17.5632729Z
2026-09-24 – 2026-09-24222026-10-20T18:52:17.5632729Z
2026-09-23 – 2026-09-23102026-10-20T18:52:17.5632729Z
2026-09-22 – 2026-09-2232026-10-20T18:52:17.5632729Z
2026-09-21 – 2026-09-2142026-10-20T18:52:17.5632729Z
2026-09-20 – 2026-09-2022026-10-20T18:52:17.5632729Z
2026-09-19 – 2026-09-1922026-10-20T18:52:17.5632729Z
2026-09-18 – 2026-09-1872026-10-20T18:52:17.5632729Z
2026-09-17 – 2026-09-1742026-10-20T18:52:17.5632729Z
2026-09-15 – 2026-09-1512026-10-20T18:52:17.5632729Z
2026-09-13 – 2026-09-1362026-10-20T18:52:17.5632729Z
2026-09-12 – 2026-09-1222026-10-20T18:52:17.5632729Z
2026-09-11 – 2026-09-1122026-10-20T18:52:17.5632729Z
2026-09-10 – 2026-09-1032026-10-20T18:52:17.5632729Z
2026-09-09 – 2026-09-0932026-10-20T18:52:17.5632729Z
2026-09-08 – 2026-09-0832026-10-20T18:52:17.5632729Z
2026-09-07 – 2026-09-0712026-10-20T18:52:17.5632729Z
2026-09-05 – 2026-09-0562026-10-20T18:52:17.5632729Z
2026-09-04 – 2026-09-0432026-10-20T18:52:17.5632729Z
2026-09-03 – 2026-09-0322026-10-20T18:52:17.5632729Z
2026-09-02 – 2026-09-0222026-10-20T18:52:17.5632729Z
2026-09-01 – 2026-09-01172026-10-20T18:52:17.5632729Z
2026-08-31 – 2026-08-3162026-10-20T18:52:17.5632729Z
2026-08-30 – 2026-08-3012026-10-20T18:52:17.5632729Z
2026-08-29 – 2026-08-2952026-10-20T18:52:17.5632729Z
2026-08-28 – 2026-08-2862026-10-20T18:52:17.5632729Z
2026-08-27 – 2026-08-2742026-10-20T18:52:17.5632729Z
2026-08-26 – 2026-08-2642026-10-20T18:52:17.5632729Z
2026-08-25 – 2026-08-2522026-10-20T18:52:17.5632729Z
2026-08-24 – 2026-08-24222026-10-20T18:52:17.5632729Z
2026-08-23 – 2026-08-2352026-10-20T18:52:17.5632729Z
2026-08-21 – 2026-08-2112026-10-20T18:52:17.5632729Z
2026-08-20 – 2026-08-2072026-10-20T18:52:17.5632729Z
2026-08-18 – 2026-08-18542026-10-20T18:52:17.5632729Z
2026-08-17 – 2026-08-17102026-10-20T18:52:17.5632729Z
2026-08-16 – 2026-08-16132026-10-20T18:52:17.5632729Z
2026-08-14 – 2026-08-1472026-10-20T18:52:17.5632729Z
2026-08-13 – 2026-08-1362026-10-20T18:52:17.5632729Z
2026-08-12 – 2026-08-1252026-10-20T18:52:17.5632729Z
2026-08-11 – 2026-08-1112026-10-20T18:52:17.5632729Z
2026-08-10 – 2026-08-1022026-10-20T18:52:17.5632729Z
2026-08-09 – 2026-08-0982026-10-20T18:52:17.5632729Z
2026-08-07 – 2026-08-0722026-10-20T18:52:17.5632729Z
2026-08-06 – 2026-08-0642026-10-20T18:52:17.5632729Z
2026-08-05 – 2026-08-0542026-10-20T18:52:17.5632729Z
2026-08-04 – 2026-08-0482026-10-20T18:52:17.5632729Z
2026-08-03 – 2026-08-03192026-10-20T18:52:17.5632729Z
2026-08-02 – 2026-08-0212026-10-20T18:52:17.5632729Z
2026-08-01 – 2026-08-0112026-10-20T18:52:17.5632729Z
2026-07-31 – 2026-07-3122026-10-20T18:52:17.5632729Z
2026-07-30 – 2026-07-3062026-10-20T18:52:17.5632729Z
2026-07-29 – 2026-07-29182026-10-20T18:52:17.5632729Z
2026-07-28 – 2026-07-2822026-10-20T18:52:17.5632729Z
2026-07-27 – 2026-07-2742026-10-20T18:52:17.5632729Z
2026-07-24 – 2026-07-2412026-10-20T18:52:17.5632729Z
2026-07-23 – 2026-07-2352026-10-20T18:52:17.5632729Z
2026-07-22 – 2026-07-2242026-10-20T18:52:17.5632729Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.4.26 Sept 20242

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
kewldan/aaio

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:56 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:1fc04158d556321c39ff7da7f767c8560dd9c138fa501395f548d94cdf01336d