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 hashes)
Built Distribution
aiolavapy-0.1.2-py3-none-any.whl
(12.3 kB
view hashes)
Close
Hashes for aiolavapy-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc3074d62d2f73fc4deee242aa294f7d6a829e7193a75e76f33652db23c4303d |
|
MD5 | 28b2d4f8296276b0625b85cfd42bf931 |
|
BLAKE2b-256 | 032edc49471ea9d54656ea996eb2d62749261620c10c89a710a7615f7c62e65d |