Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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.
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d1c6287237cc101b672e5cdc9c773af8a287e7b273a7b5dde5e6fb963ae062a
|
|
| MD5 |
12ff6940d615b4ff16e8390c3ffd6d80
|
|
| BLAKE2b-256 |
8d4e9d94387f2ceb1140970c9e2a08b222976240147cd8e248e69453e1f54b83
|