[![PyPi Package Version](https://img.shields.io/pypi/v/pyPayokAPI.svg)](https://pypi.python.org/pypi/pyPayokAPI)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/pyPayokAPI.svg)](https://pypi.python.org/pypi/pyPayokAPI)
[![PyPi downloads](https://img.shields.io/pypi/dm/pyPayokAPI.svg)](https://pypi.org/project/pyPayokAPI/)
# <p align="center">pyPayokAPI</p>
Python implementation of [Payok.io](https://payok.online) public [API](https://payok.online/cabinet/documentation/doc_main.php)
**This library may not fully implement API. However I will continue to maintain it, so if you need some not implemented methods - just open an issue.**
# Installation
Installation using pip (a Python package manager):
```
$ pip install pyPayokAPI
```
# Usage
Everything is as simple as the [API](https://payok.online/cabinet/documentation/doc_main.php) itself.
1. Create pyPayokAPI instance
2. Access API methods
3. Most methods return result as correspondent class, so you can access data as fields
```
from pyPayokAPI import pyPayokAPI
client = pyPayokAPI(
xxxx, # API ID
"xxxxxxx") # API key
balance = client.balance()
print("Balance: {}\nRef.balance: {}".format(balance.balance, balance.ref_balance))
```
You can also check tests.py.
# Exceptions
Exceptions are rised using pyPayokAPIException class.
Raw data
{
"_id": null,
"home_page": "https://github.com/Badiboy/pyPayokAPI",
"name": "pyPayokAPI",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Payok Pay API",
"author": "Badiboy",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/8d/4e/9d94387f2ceb1140970c9e2a08b222976240147cd8e248e69453e1f54b83/pyPayokAPI-0.0.3.tar.gz",
"platform": null,
"description": "[![PyPi Package Version](https://img.shields.io/pypi/v/pyPayokAPI.svg)](https://pypi.python.org/pypi/pyPayokAPI)\r\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/pyPayokAPI.svg)](https://pypi.python.org/pypi/pyPayokAPI)\r\n[![PyPi downloads](https://img.shields.io/pypi/dm/pyPayokAPI.svg)](https://pypi.org/project/pyPayokAPI/)\r\n\r\n# <p align=\"center\">pyPayokAPI</p>\r\nPython implementation of [Payok.io](https://payok.online) public [API](https://payok.online/cabinet/documentation/doc_main.php)\r\n\r\n**This library may not fully implement API. However I will continue to maintain it, so if you need some not implemented methods - just open an issue.**\r\n\r\n# Installation\r\nInstallation using pip (a Python package manager):\r\n```\r\n$ pip install pyPayokAPI\r\n```\r\n\r\n# Usage\r\nEverything is as simple as the [API](https://payok.online/cabinet/documentation/doc_main.php) itself.\r\n1. Create pyPayokAPI instance\r\n2. Access API methods\r\n3. Most methods return result as correspondent class, so you can access data as fields \r\n```\r\nfrom pyPayokAPI import pyPayokAPI\r\nclient = pyPayokAPI(\r\n xxxx, # API ID\r\n \"xxxxxxx\") # API key\r\nbalance = client.balance()\r\nprint(\"Balance: {}\\nRef.balance: {}\".format(balance.balance, balance.ref_balance))\r\n```\r\nYou can also check tests.py.\r\n\r\n# Exceptions\r\nExceptions are rised using pyPayokAPIException class.\r\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Python implementation of Payok.io (https://payok.io/) pubilc API",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/Badiboy/pyPayokAPI"
},
"split_keywords": [
"payok",
"pay",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8d4e9d94387f2ceb1140970c9e2a08b222976240147cd8e248e69453e1f54b83",
"md5": "12ff6940d615b4ff16e8390c3ffd6d80",
"sha256": "4d1c6287237cc101b672e5cdc9c773af8a287e7b273a7b5dde5e6fb963ae062a"
},
"downloads": -1,
"filename": "pyPayokAPI-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "12ff6940d615b4ff16e8390c3ffd6d80",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8768,
"upload_time": "2024-09-29T15:35:41",
"upload_time_iso_8601": "2024-09-29T15:35:41.887025Z",
"url": "https://files.pythonhosted.org/packages/8d/4e/9d94387f2ceb1140970c9e2a08b222976240147cd8e248e69453e1f54b83/pyPayokAPI-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-29 15:35:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Badiboy",
"github_project": "pyPayokAPI",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pypayokapi"
}