This library provides functions for integration with the Todoist rest Api.
The Todoist Project type represents a project in todoist. It has the following values:
* id: Integer - The project unique id on the Todoist platform
* name: String - The name of the project
* order: Int - The order of the projects in the users setup
* indent: Int - An int ranging from 1 to 4 for the project indentation level.
* commentCount: Int - The amount of comments on a project.The task type represents a todoist task. It has the following values:
* id : Int - The task unique id in Todoist
* projectId : Int - The id of the project the task is in
* completed : Bool - If the task is completed or not
* labelIds : List Int - A list of all associated label ids
* order : Int - The order of the task in the project it is in
* indent : Int - Indention level of the task in the project
* priority : Int - The priority of the task, takes on a value from 1 to 4.
* due : Maybe Due - A due object telling when the task is due, Nothing if no due date is specified
* url : String - The permanent link to the task page on Todoist.com
* commentCount : Int - The amount of comments on the task.The Due type represents a due date. It has the following values:
* date : String - This is a String telling when the due time is.
* string : String - A human readable representation of the due date
* datetime : String - A datetime representing the die date
* timezone : String - The timezone the datetime is set inThe label type represents a Todoist label. It has the following values:
* id : Int - The label unique id in Todoist
* name : String - The label name
* order : Int - The order number of the label in the list of all labels.Makes a get request for all the projects associated with the provided token.
Makes a get request for the project associated with the provided id. Will fail if the provided token does not grant access to the project.
Makes a get request for all the active tasks associated with the provided token.
Makes a get request for the task associated with the provided id.
Makes a get request for the label associated with the provided id.
Makes a get request for all the labels associated with the provided token.
A todoist access token. This is needed for all calls to the api. This can be found on: https://todoist.com/prefs/integrations at the very bottom of the page.