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_TOKENto the value of your token. I recommend using direnv, runcp example.envrc .envrcand add the token to the.envrcfile you created.
pip install -r requirements.dev.txtPython 3.11.1 is recommended. pip-tools is used to manage dependencies.
python exporter --start 2022-05-01 --end 2022-05-31Run 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.