pyPayokAPI

Python implementation of Payok.io (https://payok.io/) pubilc API


Keywords
Payok, Pay, API
License
MIT
Install
pip install pyPayokAPI==0.0.2

Documentation

PyPi Package Version Supported Python versions PyPi downloads

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.

  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.