Metadata-Version: 2.5
Name: pyCryptoPayAPI
Version: 1.1.0
Summary: Simple Python implementation of Crypto Pay API (Crypto Pay is a payment system based on @CryptoBot).
Project-URL: Homepage, https://github.com/Badiboy/pyCryptoPayAPI
Project-URL: Documentation, https://github.com/Badiboy/pyCryptoPayAPI
Project-URL: Repository, https://github.com/Badiboy/pyCryptoPayAPI
Project-URL: Issues, https://github.com/Badiboy/pyCryptoPayAPI/issues
Author: Badiboy
License: MIT license
License-File: LICENSE
Keywords: api,crypto,crypto-payment,cryptobot,cryptopay,python
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.11
Requires-Dist: requests
Description-Content-Type: text/markdown

[![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>
Python implementation of [Crypto Pay API](https://help.cr.bot/en/articles/10279948-crypto-pay-api) (Crypto Pay is a payment system based on [@CryptoBot](http://t.me/CryptoBot))

Supported runtimes: CPython 3.11–3.15 and PyPy 3.11–3.12.

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

# Usage
Everything is as simple as the [API](https://help.cr.bot/en/articles/10279948-crypto-pay-api#h_7a767b4c96) itself.
1. Create pyCryptoPayAPI instance
2. Access API methods in pythonic notation (getInvoices -> get_invoices)
```
from pyCryptoPayAPI import pyCryptoPayAPI
client = pyCryptoPayAPI("API_TOKEN")
print(client.get_balance())
```
You can also check tests.py.

# Exceptions
Exceptions are rised using pyCryptoPayException class.
