Aio cleint for moneta merchant api
Project description
Aio Moneta client
This client for moneta merchant api https://www.moneta.ru/doc/MONETA.MerchantAPI.v2.ru.pdf
Instalation
pip install aiomonetaclient
Usage
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))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiomonetaclient-0.0.7.tar.gz
(12.0 kB
view details)
Built Distribution
File details
Details for the file aiomonetaclient-0.0.7.tar.gz
.
File metadata
- Download URL: aiomonetaclient-0.0.7.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a709963d55ce149567a1b339137bdd6edebc762a06d10a7b9ed7fe018f95557 |
|
MD5 | e6c773bfe7e9bca8728822bfb8ff5b80 |
|
BLAKE2b-256 | 036e762a495c3170ca6819cccc29f6d9e7c4125adaeac36e9d42e91d43a4258e |
File details
Details for the file aiomonetaclient-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: aiomonetaclient-0.0.7-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5291b9707ae0604c5facd4beab8b77725cbf20f3a9a690112b7e7bc361aad21 |
|
MD5 | 199396cef9981b2fd66923edafd46a5b |
|
BLAKE2b-256 | 5e59fc3c56a0fda1a28598cff440b561ed4794a80b008519afca59bfe34d2885 |