aiomonetaclient-0.0.7
توضیحات
Aio cleint for moneta merchant api
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aiomonetaclient-0.0.7 |
| نام | aiomonetaclient |
| نسخه کتابخانه | 0.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Artem Ziborov |
| ایمیل نویسنده | artimydin@gmail.com |
| آدرس صفحه اصلی | https://github.com/Thaumaturge/aiomonetaclient |
| آدرس اینترنتی | https://pypi.org/project/aiomonetaclient/ |
| مجوز | - |
# Aio Moneta client
This client for moneta merchant api https://www.moneta.ru/doc/MONETA.MerchantAPI.v2.ru.pdf
## Instalation
```shell
pip install aiomonetaclient
```
## Usage
```python
import asyncio
from aiomonetacleint import Client
if __name__ == '__main__':
moneta_client = Client(
username='<moneta username>',
password='<moneta password>'
)
loop = asyncio.get_event_loop()
profiles = loop.run_until_complete(
# request FindProfileRequest
moneta_client.find_profile_info(
'<phone without +>'
)
)
# print first profile attributes
print(profiles.Envelope.Body.FindProfileInfoResponse.to_json(indent=4))
```
نیازمندی
| مقدار | نام |
|---|---|
| ==3.7.4 | aiohttp |
| - | simplejson |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.2 | Python |
نحوه نصب
نصب پکیج whl aiomonetaclient-0.0.7:
pip install aiomonetaclient-0.0.7.whl
نصب پکیج tar.gz aiomonetaclient-0.0.7:
pip install aiomonetaclient-0.0.7.tar.gz