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.5.dev0.tar.gz
(7.9 kB
view details)
File details
Details for the file heleketapi-0.0.5.dev0.tar.gz.
File metadata
- Download URL: heleketapi-0.0.5.dev0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c00deff3654dbc997848e0c8234b2abf13bbc930d47b512fc101c36eadc6e67
|
|
| MD5 |
08f46ecdc8d2f3ad97fcb932df1dfc81
|
|
| BLAKE2b-256 |
a71ff705f6f94975992755a7b67b129e1bdd69c39c37c62f1e3a4b7986817194
|