Today Tasks

This methods allows you to get tasks for the current day.

By now, Completed tasks are not implemented in the REST API, so no completed task will be returned by using this client.

getTodayTaskNames()

const myClient // an authorized client instance
myClient.extras.getTodayTaskNames().then(res => console.log(res)) // ["task1 content", "task2 content", ...]

getTodayTaskJSON()

const myClient // an authorized client instance
myClient.extras.getTodayTaskJSON().then(res => console.log(res)) // [{task1...}, {task2...}, ...]

Last updated