Skip to main content

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


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.3.dev0.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file heleketapi-0.0.3.dev0.tar.gz.

File metadata

  • Download URL: heleketapi-0.0.3.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

Hashes for heleketapi-0.0.3.dev0.tar.gz
Algorithm Hash digest
SHA256 412aa99512a834a06009bca1f941447c2bd7ceea09e68c6f625faa0baab6b7e3
MD5 a7498e27123d8fa3c593622660501ef8
BLAKE2b-256 b01c7c176a4f8373f68ca59e128546b27dd5bcae2010624b9f063c7a42d1731f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page