ynab_set_token: Set your YNAB API options

Description Usage Arguments Details Value

View source: R/ynab_functions.R

Description

This function sets a global option ynab_token for use in many other function calls. It should be the first function called as other functions will not work without a proper token. It also sets the base_url option, including the YNAB api version (currently v1).

Usage

1

Arguments

token

This can be the 64 alphanumeric personal access token from the YNAB registration process. If left blank, the ynab_token option will be set from the environment variable YNAB_TOKEN.

Details

The token is obtained through a registration process on the YNAB website. The token is a 64 character long alphanumeric string.

Value

No return value


joxborrow/ynabr documentation built on June 17, 2021, 6:22 p.m.