Skip to main content

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

Project description

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.

Project details


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 details)

Uploaded Source

File details

Details for the file pyPayokAPI-0.0.3.tar.gz.

File metadata

  • Download URL: pyPayokAPI-0.0.3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for pyPayokAPI-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4d1c6287237cc101b672e5cdc9c773af8a287e7b273a7b5dde5e6fb963ae062a
MD5 12ff6940d615b4ff16e8390c3ffd6d80
BLAKE2b-256 8d4e9d94387f2ceb1140970c9e2a08b222976240147cd8e248e69453e1f54b83

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page