Skip to content

Simple Python implementation of Crypto Pay API (Crypto Pay is a payment system based on @cryptobot)

License

Notifications You must be signed in to change notification settings

Badiboy/pyCryptoPayAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPi Package Version Supported Python versions PyPi downloads

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.

  1. Create pyCryptoPayAPI instance
  2. 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.