Unofficial Python client for ACB account balances and transaction history
Project description
makky-acb-api
🇺🇸 English | 🇻🇳 Tiếng Việt
Unofficial Python client for ACB account balances and transaction history, packaged for local installation and future PyPI publication.
Features
- Authenticate with ACB using username and password
- Fetch balances for payment accounts
- Retrieve recent transaction history for a selected account
- Use as a Python library or from a CLI command
Installation
Local development install
pip install -r requirements.txt
pip install -e .
After publication to PyPI
pip install makky-acb-api
Environment variables
Create a .env file in the project root:
ACB_USERNAME=your_username
ACB_PASSWORD=your_password
[!WARNING] This project uses an unofficial ACB API. Protect your credentials and use it at your own risk.
Python usage
from acb_api import ACBClient
client = ACBClient(username="your_username", password="your_password")
balances = client.get_balances()
print(balances)
account = balances["balances"][0]["accountNumber"]
transactions = client.get_transactions(rows=5, account_number=account)
print(transactions)
CLI usage
After pip install -e ., run:
acb-api --action all --rows 5
Other examples:
acb-api --action balances
acb-api --action transactions --account 19527581 --rows 10
acb-api --action all --debug
Local demo script
For backward-compatible local testing:
python main.py
Project structure
ACB-API/
├── src/acb_api/
│ ├── __init__.py
│ ├── cli.py
│ ├── client.py
│ ├── config.py
│ ├── exceptions.py
│ └── models.py
├── main.py
├── pyproject.toml
└── README.md
Packaging notes
- Distribution/package name:
makky-acb-api - Import package name:
acb_api - Author / maintainer:
Makky
To build distributable artifacts locally:
python -m build
Credits
This packaged version is maintained by Makky.
Inspired by earlier community work around ACB unofficial integrations, including:
Disclaimer
This is an unofficial client and is not affiliated with ACB. APIs, headers, and authentication flows may change without notice. Use at your own risk.
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 makky_acb_api-0.1.0.tar.gz.
File metadata
- Download URL: makky_acb_api-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be7cb332fcf2387bea343a4cf44d41eaea4fa761c06c30acaea28445bd133c59
|
|
| MD5 |
bf97d9dee2b58ce7d34742826b291e67
|
|
| BLAKE2b-256 |
1b3c2ac55cc68aa27d190686ac735a062dc385999c7aa100d60a570bf0349ca2
|
File details
Details for the file makky_acb_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: makky_acb_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b019c17972aa2d0b496b364daa5daef1f885494e87f35df595ef629fd3f96c66
|
|
| MD5 |
b24e07728ba73a7e2356ac73d06fb655
|
|
| BLAKE2b-256 |
a32da567fbdbeb9eb4304d59128c03e19e99e40bf107717a24bc3705405b8f28
|