Skip to main content

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

Project description

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

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!

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

akahu_py-0.1.0.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

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

akahu_py-0.1.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file akahu_py-0.1.0.tar.gz.

File metadata

  • Download URL: akahu_py-0.1.0.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for akahu_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aa0c696f44b95cf28ff30f1d950314e980a814fa85538cd26e7b91d4f17d240a
MD5 09887b52af49ba6d2f791774ccd31419
BLAKE2b-256 f6cb0b24f59df21ae6504a51bb9438033232adfb7dbae50fa4f99b3ff67d1e75

See more details on using hashes here.

File details

Details for the file akahu_py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: akahu_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for akahu_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33b982ee8f720e30f03d61ac4ab1ca609c9add380c0cdb707432ea8ec67bfeee
MD5 8d60772f9cef511389fd682340fc835a
BLAKE2b-256 0b8fce8393933ed44ac2d62ed369173eb87e79f1d21c00396b6028dde9fb91f7

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