Skip to content

A simple CLI to fetch data from the Up Bank API and output CSVs for GnuCash.

Notifications You must be signed in to change notification settings

con-cat/up-bank-gnucash-csv

Repository files navigation

Up Bank to GnuCash CSV exporter

A simple CLI to fetch data from the Up Bank API and output CSVs for GnuCash.

Setup

API token

  1. Get an Up Bank API token
  2. Set the environment variable UP_TOKEN to the value of your token. I recommend using direnv, run cp example.envrc .envrc and add the token to the .envrc file you created.

Installing dependencies

pip install -r requirements.dev.txt

Python 3.11.1 is recommended. pip-tools is used to manage dependencies.

Running the thing

python exporter --start 2022-05-01 --end 2022-05-31

Run the exporter command with the start and end dates you want to create CSVs for in yyyy-mm-dd format.

CSVs are saved in the project root directory.

Useful links

About

A simple CLI to fetch data from the Up Bank API and output CSVs for GnuCash.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages