milkpay.xrocket 1.0.0b0

Creator: bradpython12

Last updated:

Add to Cart

Description:

milkpay.xrocket 1.0.0b0

milkpay is a set of lightweight crypto payment system SDKs.
⚠️ This SDK still in beta! ⚠️

Installation
pip install -U milkpay-xrocket


Simple example
import asyncio
import logging
from typing import Final

from milkpay.xrocket.pay import PayXRocket


PAY_KEY: Final[str] = "YOUR_PAY_KEY_HERE"


async def main() -> None:
logging.basicConfig(level=logging.DEBUG)
xrocket: PayXRocket = PayXRocket(pay_key=PAY_KEY)
try:
for invoice in await xrocket.get_invoices():
logging.info("Invoice #%d created at %s", invoice.id, invoice.created)
finally:
await xrocket.session.close()


if __name__ == "__main__":
asyncio.run(main())


Support
❤️ My TON Address: UQBTR4X8Cg-qJ3jkMLbuhe7DkqSNAfddNj8kvOHZtLHtR8YQ

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.