add_task_in_project {rtodoist}R Documentation

Add task in project

Description

To work, it needs a project id.

Usage

add_task_in_project(
  project_id,
  task,
  try_again = 3,
  time_try_again = 3,
  verbose = TRUE,
  responsible = NULL,
  token = get_todoist_api_token(),
  exiting_tasks = get_tasks(token = token)
)

Arguments

project_id

id of a project

task

a task

try_again

start again the request

time_try_again

number of tries

verbose

make it talk

responsible

add people in project with email. To know user email, use get_users.

token

token

exiting_tasks

list of tasks already in the project

Value

project id

Examples

## Not run: 
add_project("my_proj") %>%
   add_task_in_project("Add tasks")

## End(Not run)

[Package rtodoist version 0.1.0 Index]