AaioAsync


NameAaioAsync JSON
Version 0.1.10 PyPI version JSON
download
home_pagehttps://github.com/Belyashik2K/AaioAsync
SummaryFully async python wrapper for Aaio.io API
upload_time2024-09-09 05:06:59
maintainerNone
docs_urlNone
authorBelyashik2K
requires_pythonNone
licenseApache License, Version 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AaioAsync
> Fully async python wrapper for Aaio.io API
## Installing

    pip install AaioAsync
## Code example
```python
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
```Python

Доступно >>>  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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Belyashik2K/AaioAsync",
    "name": "AaioAsync",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Belyashik2K",
    "author_email": "lovelybelyashik@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/51/02/c326f6bd2d9782f0294ff7622e7129746840d25098879813add94875a6d6/AaioAsync-0.1.10.tar.gz",
    "platform": null,
    "description": "# AaioAsync\r\n> Fully async python wrapper for Aaio.io API\r\n## Installing\r\n\r\n    pip install AaioAsync\r\n## Code example\r\n```python\r\nimport asyncio\r\n\r\nfrom AaioAsync import AaioAsync\r\n\r\naaio = AaioAsync(\"API Key\", \"Shop ID\", \"Secretkey \u21161\")\r\n\r\nasync def main():\r\n\r\n    balance = await aaio.getbalance()\r\n\r\n    print('\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e >>> ', balance.balance)\r\n    print('\u0412 \u0445\u043e\u043b\u0434\u0435 >>> ', balance.hold)\r\n    print('\u0420\u0435\u0444\u0435\u0440\u0430\u043b\u044c\u043d\u044b\u0439 >>> ', balance.referral)\r\n\r\n    info = await aaio.getorderinfo('HelloAaio')\r\n\r\n    print('ID >>> ', info.order_id)\r\n    print('\u0421\u0443\u043c\u043c\u0430 >>> ', info.amount)\r\n    print('\u0414\u0430\u0442\u0430 >>> ', info.date)\r\n    print('\u0412\u0430\u043b\u044e\u0442\u0430 >>>', info.currency)\r\n\r\nasyncio.run(main())\r\n```\r\n## Output\r\n```Python\r\n\r\n\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e >>>  122783.43\r\n\u0412 \u0445\u043e\u043b\u0434\u0435 >>>  10267.3   \r\n\u0420\u0435\u0444\u0435\u0440\u0430\u043b\u044c\u043d\u044b\u0439 >>>  3245.92\r\n\r\nID >>>  HelloAaio\r\n\u0421\u0443\u043c\u043c\u0430 >>>  7510.0\r\n\u0414\u0430\u0442\u0430 >>>  2023-07-29 23:21:20\r\n\u0412\u0430\u043b\u044e\u0442\u0430 >>> RUB\r\n\r\n```\r\n\r\n## Docs\r\n> Go to https://wiki.aaio.io/ for more information about working with acquiring\r\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "Fully async python wrapper for Aaio.io API",
    "version": "0.1.10",
    "project_urls": {
        "Homepage": "https://github.com/Belyashik2K/AaioAsync"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5102c326f6bd2d9782f0294ff7622e7129746840d25098879813add94875a6d6",
                "md5": "4b67d48c321541bb557566b6a17ce4a4",
                "sha256": "050c03e9c206cf538cca73c34197f204b4f09b62dd2ea2d9a5f310da73acf68d"
            },
            "downloads": -1,
            "filename": "AaioAsync-0.1.10.tar.gz",
            "has_sig": false,
            "md5_digest": "4b67d48c321541bb557566b6a17ce4a4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5398,
            "upload_time": "2024-09-09T05:06:59",
            "upload_time_iso_8601": "2024-09-09T05:06:59.117729Z",
            "url": "https://files.pythonhosted.org/packages/51/02/c326f6bd2d9782f0294ff7622e7129746840d25098879813add94875a6d6/AaioAsync-0.1.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-09 05:06:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Belyashik2K",
    "github_project": "AaioAsync",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "aaioasync"
}
        
Elapsed time: 0.32626s