[![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.io) public [API](https://payok.io/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.io/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": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Payok Pay API",
"author": "Badiboy",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/9c/7a/1628bb295e2116f207f2c44dce77dd747167d6b2b5c4ccaa5f4c97c3fafe/pyPayokAPI-0.0.2.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.io) public [API](https://payok.io/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.io/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.2",
"project_urls": {
"Homepage": "https://github.com/Badiboy/pyPayokAPI"
},
"split_keywords": [
"payok",
"pay",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9c7a1628bb295e2116f207f2c44dce77dd747167d6b2b5c4ccaa5f4c97c3fafe",
"md5": "f22b9f545712228503ad61773376582c",
"sha256": "1614014f862fce22c485061f9ece27bc3caeea7bc0f1f4bf3b7e9ec4a2eeab24"
},
"downloads": -1,
"filename": "pyPayokAPI-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "f22b9f545712228503ad61773376582c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8699,
"upload_time": "2023-08-10T13:48:16",
"upload_time_iso_8601": "2023-08-10T13:48:16.884396Z",
"url": "https://files.pythonhosted.org/packages/9c/7a/1628bb295e2116f207f2c44dce77dd747167d6b2b5c4ccaa5f4c97c3fafe/pyPayokAPI-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-10 13:48:16",
"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"
}