Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.
John Rivs edited this page Aug 9, 2015 · 3 revisions

https://developer.wunderlist.com/documentation/endpoints/task

Method Description Arguments
getTasks Show all the tasks from a list array $attributes = []
getTask Show a task from a list int $taskId
createTask Create a new task for a list array $attributes = []
updateTask Update a task int $taskId array $attributes = []
deleteTask Delete a task int $taskId

Examples

$w->getTasks([
    'list_id' => 1234
]);

$w->getTasks([
    'list_id'   => 1234,
    'completed' => true
]);

$w->getTask(9876);

$w->createTask([
    'list_id' => 1234,
    'title'   => 'Update the docs'
]);

$w->updateTask(9876, [
    'title' => 'Call Bob'
]);

$w->deleteTask(9876);
Clone this wiki locally