Skip to main content

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

Project description

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.

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page