dotfiles
dotfiles copied to clipboard
Automate backup of YNAB data
YNAB data export not currently supported by YNAB API (checked with support via email), but worth checking every now and then if support is added. If so this is a starting point for a script:
#!/bin/sh
token=$(cat ~/.ynab-token)
res=$(curl -H "Authorization: Bearer $token" https://api.youneedabudget.com/v1/budgets)
echo $res