Install
npm i -save todoist-app
Usage
Need to create the Todoist by passing clientId, clientSecret from Todoist Developers Page
then also need to provide the scope if no scope has been provided then the default read scope will applied
var TodoistAuth = require.TodoistAuth;var todoist = new TodoistAuth;
calling getAuthUrl with state you will get the auth url
var authUrl = todoist.getAuthUrl;
Get the Access Token by calling the getToken with code
var data = {};data.code = code;data.state = state;todoist.getToken
TODO