This is a minimalistic implementation of a process that bulks the transactions of a given N26 account to You Need A Budget; all through APIs. The current implementation handles duplication through the YNAB internal functionality. Its way of working consists of calling the main module with an argument specifying an account name (previously configured). After that call, the system will retrieved all the N26 transactions, and it will push them to the YNAB budget and account specified in the configuration files.
Please keep in mind that this is a personal project meant to satisfy a personal necessity. It may not totally apply to your use-case. Feel free to fork the project or suggest any extra functionality.
Follow the next steps to have the project running in your system:
- Install pyenv and poetry in your system following the linked official guides.
- Open a terminal, clone this repository and
cd
to the cloned folder. - Run
pyenv install 3.6.1
in your terminal for installing the required python. version - Configure poetry with
poetry config virtualenvs.in-project true
- Create the virtual environment with
poetry install
- Create the
config/ynab.toml
file following the example in the same folder - Create the
config/n26.toml
file following the example in the same folder. Make sure you establish the links from each account configured here to the desired YNAB account name - Activate the environment with
source .venv/bin/activate
- Run
python main.py -a <n26-account-name>
to send the transactions from the n26 account specified to the YNAB account
Pull requests and issues will be tackled upon availability.
This repository is licensed under MIT license. More info in the LICENSE file. Copyright (c) 2020 Iván Vallés Pérez