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"
}
}
}
Release files for aiopay 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiopay-1.0.4.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiopay-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / aiopay-1.0.4.tar.gz
| Download URL | aiopay-1.0.4.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36044b00570d9991e237cf56c36fdc0e5df086be8398de53068475412b7a07d5
|
|
BLAKE2b-256 checksum How to use checksums |
1fbcb789a73325c0ecab89e7909503f6b37ff1714c72bcddce04ba6f66e911f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / aiopay-1.0.4-py3-none-any.whl
| Download URL | aiopay-1.0.4-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f43e5929f4a65c2ca3f5c935a8ea07bce17b329c735e5ba78572231c25362b03
|
|
BLAKE2b-256 checksum How to use checksums |
a5800f2e723f9fed221b43babd65da045a40ea86aa5c3dbb1ebc355b2f4040f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|