tvl-depot/monzo_ynab/.envrc
William Carroll e223adfec5 Begin work on YNAB client
After reading these docs
https://api.youneedabudget.com/v1#/Transactions/createTransaction I successfully
made a request to post a transaction to my YNAB account. Hastily created a
client.go that doesn't contain much at the moment.
2020-02-10 23:24:33 +00:00

13 lines
740 B
Text

# source_up traversing up directories until it finds the nearest .envrc file,
# which it uses to extend the environment in this .envrc.
#
# Since ../.envrc calls `eval "$(lorri direnv)"`, the buildInputs and variables
# definitions inside of the attribute set passed to pkgs.mkShell become
# available here as well.
source_up
export monzo_client_id="$(pass show finance/monzo/client-id)"
export monzo_client_secret="$(pass show finance/monzo/client-secret)"
export ynab_personal_access_token="$(pass show finance/youneedabudget.com/personal-access-token)"
export ynab_account_id="$(pass show finance/youneedabudget.com/personal-access-token)"
export ynab_budget_id="$(pass show finance/youneedabudget.com/budget-id)"
eval "$(lorri direnv)"