get_project_id: Get id of project
Description
This function gives you the id of a project by name, which is useful for adding tasks or people to the project.
Usage
get_project_id(
project_name,
all_projects = get_all_projects(token = token),
token = get_todoist_api_token(),
create = TRUE,
verbose = FALSE
)
Value
id of project (character vector)
Arguments
- 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
Examples
Run this codeif (FALSE) {
get_all_projects() %>%
get_project_id("test")
}
Run the code above in your browser using DataLab