dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Automate backup of YNAB data

Open samhh opened this issue 5 years ago • 0 comments

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

samhh avatar Aug 08 '20 20:08 samhh