Simple Python implementation of Crypto Pay API (Crypto Pay is a payment system based on @CryptoBot)
Installation using pip (a Python package manager):
$ pip install pyCryptoPayAPI
Everything is as simple as the API itself.
- Create pyCryptoPayAPI instance
- Access API methods in pythonic notation (getInvoices -> get_invoices)
from pyCryptoPayAPI import pyCryptoPayAPI
client = pyCryptoPayAPI(api_token="zzz")
print(client.get_balance())
You can also check tests.py.
Exceptions are rised using pyCryptoPayException class.