Metadata-Version: 2.1
Name: pyCryptoPayAPI
Version: 0.0.6
Summary: Simple Python implementation of Crypto Pay API (Crypto Pay is a payment system based on @CryptoBot)
Home-page: https://github.com/Badiboy/pyCryptoPayAPI
Author: Badiboy
License: MIT license
Keywords: Crypto Pay API @CryptoBot
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires: requests
Description-Content-Type: text/markdown
License-File: LICENSE

[![PyPi Package Version](https://img.shields.io/pypi/v/pyCryptoPayAPI.svg)](https://pypi.python.org/pypi/pyCryptoPayAPI)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/pyCryptoPayAPI.svg)](https://pypi.python.org/pypi/pyCryptoPayAPI)
[![PyPi downloads](https://img.shields.io/pypi/dm/pyCryptoPayAPI.svg)](https://pypi.org/project/pyCryptoPayAPI/)

# <p align="center">pyCryptoPayAPI</p>
Simple Python implementation of [Crypto Pay API](https://help.crypt.bot/crypto-pay-api) (Crypto Pay is a payment system based on [@CryptoBot](http://t.me/CryptoBot))

# Installation
Installation using pip (a Python package manager):
```
$ pip install pyCryptoPayAPI
```

# Usage
Everything is as simple as the [API](https://help.crypt.bot/crypto-pay-api#available-methods) 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.
