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

Uploaded Source

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

Hashes for heleketapi-0.0.5.dev0.tar.gz
Algorithm Hash digest
SHA256 4c00deff3654dbc997848e0c8234b2abf13bbc930d47b512fc101c36eadc6e67
MD5 08f46ecdc8d2f3ad97fcb932df1dfc81
BLAKE2b-256 a71ff705f6f94975992755a7b67b129e1bdd69c39c37c62f1e3a4b7986817194

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