milkpay.cryptomus 1.0

Creator: bradpython12

Last updated:

Add to Cart

Description:

milkpay.cryptomus 1.0

milkpay is a set of lightweight crypto payment system SDKs.

Installation
pip install -U milkpay-cryptomus


Simple example
import asyncio
import logging

from milkpay.cryptomus.business import Cryptomus
from milkpay.cryptomus.business.enums import Currency


async def main() -> None:
logging.basicConfig(level=logging.DEBUG)
cryptomus: Cryptomus = Cryptomus()
for rate in await cryptomus.get_exchange_rates(currency=Currency.TON):
logging.info(rate)
await cryptomus.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.