Async library for Lava API
Project description
Async Lava API library
Example to use
import asyncio
from aiolava import LavaBusinessClient
async def main():
client = LavaBusinessClient(
private_key="INSERT_PRIVATE_KEY",
shop_id="INSERT_SHOP_ID" # optional
)
invoice = await client.create_invoice(
sum_=10,
order_id="order#10"
)
print(invoice.data.url)
status = await client.check_invoice_status(
order_id="order#10"
)
print(status.data.status)
if __name__ == '__main__':
asyncio.run(main())
All documentation you can find here
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
aiolavapy-0.1.2.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
aiolavapy-0.1.2-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file aiolavapy-0.1.2.tar.gz.
File metadata
- Download URL: aiolavapy-0.1.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
461c4d61113b9653046c129abb7ce027a076c2913f115578aa9a655198980e34
|
|
| MD5 |
10cf6544e06adeb2d4efa533e28fd0c5
|
|
| BLAKE2b-256 |
d2f5669f3d72c7c156278d91927ddbc74866c23aeb704876bd43809840e8f143
|
File details
Details for the file aiolavapy-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aiolavapy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc3074d62d2f73fc4deee242aa294f7d6a829e7193a75e76f33652db23c4303d
|
|
| MD5 |
28b2d4f8296276b0625b85cfd42bf931
|
|
| BLAKE2b-256 |
032edc49471ea9d54656ea996eb2d62749261620c10c89a710a7615f7c62e65d
|