1.0.1 • Published 3 years ago

tsdoist v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago
import { Todoist } from 'tsdoist';

let td = new Todoist('0123456789abcdef0123456789abcdef01234567');

td.getTasks().then(console.log);

Notes and warnings

  • Zod and TypeScript are unable to correctly deal with strict union arguments, so createTask, updateTask, and most of the Comment-related functions will not throw a compile-time error when you pass too many of a set of arguments (see here, here, and here for more info).
  • Files are not currently supported, and the attachment field is currently missing from the Comment type and from the createComment options.

Roadmap