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.1.0.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

pycryptopayapi-0.1.0-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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