Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

makky_acb_api-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

makky_acb_api-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for makky_acb_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be7cb332fcf2387bea343a4cf44d41eaea4fa761c06c30acaea28445bd133c59
MD5 bf97d9dee2b58ce7d34742826b291e67
BLAKE2b-256 1b3c2ac55cc68aa27d190686ac735a062dc385999c7aa100d60a570bf0349ca2

See more details on using hashes here.

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

Hashes for makky_acb_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b019c17972aa2d0b496b364daa5daef1f885494e87f35df595ef629fd3f96c66
MD5 b24e07728ba73a7e2356ac73d06fb655
BLAKE2b-256 a32da567fbdbeb9eb4304d59128c03e19e99e40bf107717a24bc3705405b8f28

See more details on using hashes here.

Supported by

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