A simple CLI to fetch data from the Up Bank API and output CSVs for GnuCash.
- Get an Up Bank API token
- Set the environment variable
UP_TOKEN
to the value of your token. I recommend using direnv, runcp example.envrc .envrc
and add the token to the.envrc
file you created.
pip install -r requirements.dev.txt
Python 3.11.1 is recommended. pip-tools is used to manage dependencies.
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.