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.1.0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for pycryptopayapi-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09adcf034edb8c5b2664bd7b38d0cf2084c295b125d8e29f46f9dab71f230792 |
|
MD5 | 66c1db84fde7fd3eb94d84b478d44a85 |
|
BLAKE2b-256 | 7b258aacb5201f728a4d2d4055aae9bffd314a4eea6b142b4dd344144254221e |