| get_label_id | R Documentation |
Get label id by name
get_label_id(
label_name,
all_labels = get_all_labels(token = token),
token = get_todoist_api_token(),
create = TRUE
)
label_name |
name of the label |
all_labels |
result of get_all_labels (optional) |
token |
todoist API token |
create |
boolean create label if needed |
id of the label
## Not run:
get_label_id("urgent")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.