Metadata-Version: 2.4
Name: Akahu.py
Version: 0.1.0
Summary: An unofficial simple object oriented wrapper written in python for the Akahu open banking API.
Author: Trouty_
License: GPLv3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests<=2.32.3
Provides-Extra: docs
Requires-Dist: Sphinx<=8.2.3; extra == "docs"
Requires-Dist: sphinxawesome-theme<=5.3.2; extra == "docs"
Dynamic: license-file

# akahu.py - An OOP wrapper for Akahu

An *unofficial* simple object oriented wrapper written in python for the Akahu open banking API.

# A simple example

```python
from akahu import akahu

akahu_client = akahu.Client("app_token", "user_token")

# Grabs all clients connected to your account
accounts = akahu_client.get_all_accounts()

# Look for chequing and savings accounts
for account in accounts:
    if account.name == "Chequing":
        chequing = account
    elif account.name == "Savings":
        savings = account

# Transfer money from chequing to savings
transfer = chequing.make_transfer(account.id, 100)
```

# Todo

- 100% API coverage. Currently Akahu.py doesn't support everything available via the Akahu API.
- Non-personal app support. I have only implemented support for personal "sandbox" accounts. This will do for most people wanting to play with Akahu, however limits scalability if you make something really cool and get an accredited Akahu app.
- Guardrails. Dealing with money programatically can be scary, implementing checks and balances is something that is certainly needed.
- Async.

# Contributing

All contributions are appreciated. Just make sure to try and stick to the OOP approach and everything will be sweet as!
