- YNAB
- Get a developer token from ynab and set it as the
:ynab-tokenproperty in config.edn. - Run
(rb.core/get-budgets)then copy the id for your budget to the config.edn files:budget-idproperty. - Run
(rb.core/get-accounts)and create an entry for each account you want to push transactions for in the:accountslist. - Match the account id to the account number from your bank account.
- Get a developer token from ynab and set it as the
- FNB
- Setup Chrome Driver (see below)
- Create a ReadOnly Login on FNB and add the login details to your config.edn
- Replace the code in
rb.core/-mainto point to your config - Run your code (either
clj -m rb.coreor from the repl
etaoin is used for browser automation.
Install Chrome Driver and make sure your chrome version matches. brew cask install chromedriver.
If you want to use a different browser simply swap out the driver in rb/fnb.clj and see the etaoin website for install details.