Python SDK for ibanoplata.com API
Project description
IBAN Oplata API client ✍
Documentation: https://docs.google.com/document/d/1u4pARzom4oM9gYB7yGd_W5upJSvEk9KJNSc-K0XpMy0/edit?tab=t.0#heading=h.hnxvx03248a6
Source Code: https://github.com/DmytroLitvinov/python-iban-oplata
PyPI: https://pypi.org/project/iban-oplata/
Python API wrapper around IBAN Oplata API. Feel free to contribute and make it better! 🚀
Installation
pip install iban-oplata
Usage
-
Request your token at IBAN Oplata team. Ask support manager to create a token for you.
-
Use that token to initialize client:
from iban_oplata import IBANOplataAPIClient
user = 'email@example.com'
password = 'your_password'
dummy_data = {
'organization_name': 'Test organization',
'identification_code': '12345678',
'iban': 'UA213223130000026007233566001',
'amount': 100.75,
'payment_purpose': 'Test invoice via iban-oplata python SDK',
}
iban_oplata = IBANOplataAPIClient(user, password)
response = IBANOplataAPIClient.document_api.list()
iban_invoice_url = response.data['ibanInvoiceUrl']
print(f'IBAN Invoice URL: {iban_invoice_url}')
License
This project is licensed under the terms of the MIT license.
HOW TO MAKE A RELEASE
- Add changes to
CHANGELOG.md - Change version in
iban_oplata/__init__.pyandpyproject.toml source .env/bin/activatepython3 -m build --sdist --wheeltwine upload dist/*
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iban_oplata-0.0.1.tar.gz.
File metadata
- Download URL: iban_oplata-0.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38377069a035dcd31d67330d2a0678fc5091fa7c74ca1d20dee2a9c4fbc7f100
|
|
| MD5 |
0b5c6b213cebf78ad3852996b4be268b
|
|
| BLAKE2b-256 |
4ca0954f707bbb1a0ba85f39004323e413f66097b3ecbbfb443bbbebad3b50c4
|
File details
Details for the file iban_oplata-0.0.1-py3-none-any.whl.
File metadata
- Download URL: iban_oplata-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4268237f4950ffdf4bebe0e9cc488e96fdac1efdbac58b35b814d67c21cb5d4
|
|
| MD5 |
e36797bf714a825bc2fb2d55a15a55c6
|
|
| BLAKE2b-256 |
e9e74a06ad55599befd3045c5eb492fa50c4d5f4edaf076f89e6ddbaaaee4ee6
|