Pre-release
This release is a pre-release and may not be stable for production use.
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())
Metadata
Release files for HeleketAPI 0.0.5.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| heleketapi-0.0.5.dev0.tar.gz | 7.9 kB | Details |
Release files / heleketapi-0.0.5.dev0.tar.gz
| Download URL | heleketapi-0.0.5.dev0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c00deff3654dbc997848e0c8234b2abf13bbc930d47b512fc101c36eadc6e67
|
|
BLAKE2b-256 checksum How to use checksums |
a71ff705f6f94975992755a7b67b129e1bdd69c39c37c62f1e3a4b7986817194
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.0
|