about summary refs log tree commit diff
path: root/monzo_ynab/requests.txt
diff options
context:
space:
mode:
Diffstat (limited to 'monzo_ynab/requests.txt')
-rw-r--r--monzo_ynab/requests.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/monzo_ynab/requests.txt b/monzo_ynab/requests.txt
new file mode 100644
index 000000000000..9634c03ad1e0
--- /dev/null
+++ b/monzo_ynab/requests.txt
@@ -0,0 +1,10 @@
+:endpoint = https://api.youneedabudget.com/v1
+:access-token := (password-store-get "finance/youneedabudget.com/personal-access-token")
+:budget-id := (password-store-get "finance/youneedabudget.com/budget-id")
+
+# Test
+GET :endpoint/budgets
+Authorization: Bearer :access-token
+
+# List transactions
+GET :endpoint/budgets/:budget-id/transactions
\ No newline at end of file