Simple Python implementation of Crypto Pay API (Crypto Pay is a payment system based on @CryptoBot)
Project description
pyCryptoPayAPI
Simple Python implementation of Crypto Pay API (Crypto Pay is a payment system based on @CryptoBot)
Installation
Installation using pip (a Python package manager):
$ pip install pyCryptoPayAPI
Usage
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
Exceptions are rised using pyCryptoPayException class.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyCryptoPayAPI-0.0.8.tar.gz
(5.9 kB
view hashes)