Python implementation of Payok.io (https://payok.io/) pubilc API
Project description
pyPayokAPI
Python implementation of Payok.io public API
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 itself.
- Create pyPayokAPI instance
- Access API methods
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyPayokAPI-0.0.3.tar.gz
(8.8 kB
view hashes)