get_project_id | R Documentation |
This function gives you the id of a project by name, which is useful for adding tasks or people to the project.
get_project_id(
project_name,
all_projects = get_all_projects(token = token),
token = get_todoist_api_token(),
create = TRUE,
verbose = FALSE
)
project_name |
name of the project |
all_projects |
result of get_all_projects |
token |
todoist API token |
create |
boolean create project if needed |
verbose |
boolean that make the function verbose |
id of project (character vector)
## Not run:
get_all_projects() %>%
get_project_id("test")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.