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

Uploaded Source

File details

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

File metadata

  • Download URL: heleketapi-0.0.1.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.1.dev0.tar.gz
Algorithm Hash digest
SHA256 ad2208b9aa8cc1b05951050d3dae5bcf9146698de42a920bc5687fb9323977e6
MD5 a84416034c3018ede780e0d0bbc528eb
BLAKE2b-256 2493fff5ccc51dbc6945adaf35cb913c8e7a475ffeb25b92432c1bc4dee2c7e0

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