Easy interaction with Heleket API, support for asynchronous approaches
Project description
pip install HeleketAPI
import asyncio
from HeleketAPI import HeleketClient
api = HeleketClient("MERCHANT-UUID", "API-KEY")
async def main() -> None:
invoice = await api.create_invoice(
amount=10,
currency="USDT"
network="tron",
lifetime=300
)
print(invoice.url)
await api.session.close()
if __name__ == "__main__":
asyncio.run(main())
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
heleketapi-0.0.4.dev0.tar.gz
(7.8 kB
view details)
File details
Details for the file heleketapi-0.0.4.dev0.tar.gz.
File metadata
- Download URL: heleketapi-0.0.4.dev0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e311703fccb34737de7fda8e434b07fef69e127fc3eec9ec7835115bfc17e4f
|
|
| MD5 |
2dcd482593fa9fd69ad2e9a9675e1fd7
|
|
| BLAKE2b-256 |
d8d2470e72b1a90b7dd3c823a9f938122b36b11ad81cf586fcc0c6bc529b6f96
|