1 - Get the token
The first step is to retrieve a token.
Open todoist website to find it :
library(todoist)
todoist::open_todoist_website_profile()
token <- "YOURTOKEN" # copied and pasted from website
Now save your token securly into R (one time per computer)
We use {keyring} features to do it.
set_todoist_api_token(token)