Caution
The project doesnt work anymore. N26 has Migrated to a GraphQL API and there is no solution yet. 2024-01-07
I just wanted to be able to import N26 transactions into YNAB without having to download a CSV and then use the file import tool.
To get this up and running follow these steps.
You need NPM
- npm
npm install npm@latest -g
You need Docker
If using powershell you will need to install the following using an admin powershell
- dotenv
Install-Module dotenv
- Get a Personal Access API Key from YNAB
- Clone the repo
git clone https://github.com/Funi1234/n26-to-ynab-import
- Install NPM packages
npm install
- copy .env.template
cp .env.template .env
- Enter your Keys and details in
.env
BUDGET_NAME="abcd" ACCOUNT_NAME="xwz" YNAB_API_TOKEN="123_abc_def" DEVICE_TOKEN_UUID="12345678-1234-1234-1234567890ab" N26U="Username" N26P="Password!"
If setup correct you should just be able to run main.js
node ./main.js
The code will run and then pause, at that point you should get a mobile "Authorize Login" notification from N26. Authorize it and this code will continue.
Distributed under the MIT License. See LICENSE.txt
for more information.
Dylan Conway - @Funi1234
Project Link: https://github.com/Funi1234/n26-to-ynab-import
These resources helped.