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.2.dev0.tar.gz
(7.7 kB
view details)
File details
Details for the file heleketapi-0.0.2.dev0.tar.gz.
File metadata
- Download URL: heleketapi-0.0.2.dev0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a053a8f3c47e8f256579521e0a49b766ba88fd31812e8034c66a22839c898c2
|
|
| MD5 |
4c9448100030d63811ab132e9f2a0cee
|
|
| BLAKE2b-256 |
84315b7c7f4aa7a5386975bdc880904d2cb7c8bfb677e7dbaecca058babc8aab
|