Payme API uchun Asinxron kutubxona!!!
Project description
Payme API uchun Asinxron kutubxona!!!
Boshlash
- O'rnatish:
$ pip install -U aiopay
- Example:
from asyncio import get_event_loop
from payme_uz.cards import PaymeSubscribeCard
async def main():
card_api = PaymeSubscribeCard(
paycom_id='paycom_id',
debug=True
) # debug: True - sinov rejimi, False - ishlab chiqarish rejimi
data = await card_api.create(number='860006******6311', expire='0399', save=True)
print(data)
await card_api.close()
if __name__ == '__main__':
get_event_loop().run_until_complete(main())
- Result:
{
"jsonrpc": "2.0",
"result": {
"card": {
"number": "860006******6311",
"expire": "03/99",
"token": "6308******5xUj",
"recurrent": true,
"verify": false,
"type": "22618"
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiopay-1.0.4.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file aiopay-1.0.4.tar.gz
.
File metadata
- Download URL: aiopay-1.0.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36044b00570d9991e237cf56c36fdc0e5df086be8398de53068475412b7a07d5 |
|
MD5 | 673fb847dc8359e3d05c5336cb2b60a6 |
|
BLAKE2b-256 | 1fbcb789a73325c0ecab89e7909503f6b37ff1714c72bcddce04ba6f66e911f3 |
File details
Details for the file aiopay-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: aiopay-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f43e5929f4a65c2ca3f5c935a8ea07bce17b329c735e5ba78572231c25362b03 |
|
MD5 | 626b32eddf0195106fc242c07c974fc2 |
|
BLAKE2b-256 | a5800f2e723f9fed221b43babd65da045a40ea86aa5c3dbb1ebc355b2f4040f7 |