1b74342219
I've been using restclient.el and `restclient-mode` lately to test API calls, and I'm enjoying. I think it might make sense to track these scratch files in the repo. Who knows? They may serve as a form of documentation.
10 lines
No EOL
341 B
Text
10 lines
No EOL
341 B
Text
: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 |