| add_label | R Documentation |
Add a new label
add_label(
name,
color = NULL,
is_favorite = FALSE,
verbose = TRUE,
token = get_todoist_api_token()
)
name |
name of the label |
color |
color of the label |
is_favorite |
boolean to mark as favorite |
verbose |
boolean that make the function verbose |
token |
todoist API token |
id of the new label
## Not run:
add_label("urgent")
add_label("work", color = "red")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.