Skip to main content

Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances

Project description

replenigo

PyPI PyPI - Python Version PyPI - License

Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances

Usage

I recommend you to check out Sbanken's developer portal and read the documentation for the Sbanken API before using this app

  1. Retrieve credentials required to use the API at https://sbanken.no/bruke/utviklerportalen/

  2. Install replenigo

pip install replenigo
  1. Use replenigo.template.yaml to create your own replenigo.yaml config file with required credentials, source account and refill parameters. Some defaults are provide (see replenigo.defaults.yml), if not specified in replenigo.yaml.
  2. See below for use of the replenigo CLI

replenigo

Script that utilizes Sbanken's Open Banking API to refill accounts to specified balances

Usage:

$ replenigo [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • refill: Refill accounts to specified balances

replenigo refill

Refill accounts to specified balances

Usage:

$ replenigo refill [OPTIONS]

Options:

  • -c, --config-file FILENAME: Configurations file [default: replenigo.yaml]
  • -r, --reverse-if-above-goal / -R, --no-reverse-if-above-goal: If refill goal has been exceeded, decide if the surplus should be transferred back to the source account
  • -m, --transfer-message TEXT: Message to be displayed in the bank transfer (max 30 chars)
  • -p, --write-checkpoints / -P, --no-checkpoints: Enable or disable "checkpointing", which creates an empty checkpoint file on each successful refill
  • -d, --checkpoints-dir DIRECTORY: Directory to store checkpoint files
  • --help: Show this message and exit.

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

replenigo-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: replenigo-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Windows/10

File hashes

Hashes for replenigo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 80754acf288d883dc6fad8c6199b354ce41f21f5fb2aac1d4ba790d84868b21a
MD5 b71668fe8a06810612ca218e0e439628
BLAKE2b-256 f5c9d82b3b93c49cd733c27ae21381fe8af5fb0b71f136ef8327d0c56ddcda07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: replenigo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Windows/10

File hashes

Hashes for replenigo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81d36011378d7bec87f0cf6be91b8511dcba2790b1d639a24840fdcdab547cd3
MD5 e6ea0ff48ea342aafb5bce6200b9d075
BLAKE2b-256 ab7b84154c09f1043fb1d48f37201e574b8c339b0d5856c78d58a33199f78145

See more details on using hashes here.

Supported by

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