[![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.
Raw data
{
"_id": null,
"home_page": null,
"name": "pyCryptoPayAPI",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "api, crypto, crypto-payment, cryptobot, cryptopay, python",
"author": "Badiboy",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/7b/67/d7aa9ec763a79510da229cf2e5a60295f0b259df013bf2469648be08857e/pycryptopayapi-0.1.0.tar.gz",
"platform": null,
"description": "[![PyPi Package Version](https://img.shields.io/pypi/v/pyCryptoPayAPI.svg)](https://pypi.python.org/pypi/pyCryptoPayAPI)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/pyCryptoPayAPI.svg)](https://pypi.python.org/pypi/pyCryptoPayAPI)\n[![PyPi downloads](https://img.shields.io/pypi/dm/pyCryptoPayAPI.svg)](https://pypi.org/project/pyCryptoPayAPI/)\n\n# <p align=\"center\">pyCryptoPayAPI</p>\nSimple 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))\n\n# Installation\nInstallation using pip (a Python package manager):\n```\n$ pip install pyCryptoPayAPI\n```\n\n# Usage\nEverything is as simple as the [API](https://help.crypt.bot/crypto-pay-api#available-methods) itself.\n1. Create pyCryptoPayAPI instance\n2. Access API methods in pythonic notation (getInvoices -> get_invoices)\n```\nfrom pyCryptoPayAPI import pyCryptoPayAPI\nclient = pyCryptoPayAPI(api_token=\"zzz\")\nprint(client.get_balance())\n```\nYou can also check tests.py.\n\n# Exceptions\nExceptions are rised using pyCryptoPayException class.\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Simple Python implementation of Crypto Pay API (Crypto Pay is a payment system based on @CryptoBot).",
"version": "0.1.0",
"project_urls": {
"Documentation": "https://github.com/Badiboy/pyCryptoPayAPI",
"Homepage": "https://github.com/Badiboy/pyCryptoPayAPI",
"Issues": "https://github.com/Badiboy/pyCryptoPayAPI/issues",
"Repository": "https://github.com/Badiboy/pyCryptoPayAPI"
},
"split_keywords": [
"api",
" crypto",
" crypto-payment",
" cryptobot",
" cryptopay",
" python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b258aacb5201f728a4d2d4055aae9bffd314a4eea6b142b4dd344144254221e",
"md5": "66c1db84fde7fd3eb94d84b478d44a85",
"sha256": "09adcf034edb8c5b2664bd7b38d0cf2084c295b125d8e29f46f9dab71f230792"
},
"downloads": -1,
"filename": "pycryptopayapi-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "66c1db84fde7fd3eb94d84b478d44a85",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7150,
"upload_time": "2024-06-22T16:20:37",
"upload_time_iso_8601": "2024-06-22T16:20:37.827994Z",
"url": "https://files.pythonhosted.org/packages/7b/25/8aacb5201f728a4d2d4055aae9bffd314a4eea6b142b4dd344144254221e/pycryptopayapi-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7b67d7aa9ec763a79510da229cf2e5a60295f0b259df013bf2469648be08857e",
"md5": "fe892d67ca9763b625c57830fb65350c",
"sha256": "5775aa3de449a22ded8d55a7ca1212b7d90b672fa72f27abb9fba6bce67bbd65"
},
"downloads": -1,
"filename": "pycryptopayapi-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "fe892d67ca9763b625c57830fb65350c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7369,
"upload_time": "2024-06-22T16:20:39",
"upload_time_iso_8601": "2024-06-22T16:20:39.516433Z",
"url": "https://files.pythonhosted.org/packages/7b/67/d7aa9ec763a79510da229cf2e5a60295f0b259df013bf2469648be08857e/pycryptopayapi-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-22 16:20:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Badiboy",
"github_project": "pyCryptoPayAPI",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": []
}
],
"lcname": "pycryptopayapi"
}