A quick hacked-together (31st Dec after a Baileys..
How to build your own....
- Personal Access Token - from the Starling Dev Site
Create a .env file with the following:
accessToken=<Your Personal Access Token> accountUid=<The Account UID you'd like to use> savingsGoalUid=<The Savings Goal UID you'd like to use>
Setup Cron to run app.js every day. eg.
0 9 * * * /usr/bin/node ~/starling-1p-challenge/app.js