-
Notifications
You must be signed in to change notification settings - Fork 61
Description
I installed ToDosit module today and have been struggling to get it to work. I've been reading their API documentation and I see a few things that are not up to date per their documentation.
In the MMM-ToDoist.js currently the defined API call is
apiVersion: "v9", apiBase: "https://todoist.com/API", todoistEndpoint: "sync",
But when you go to ToDoist site https://developer.todoist.com/sync/v9/#summary-of-contents
The url they have documented is https://api.todoist.com/sync/v9/sync
I've modified the apiBase to use the new url but that still sits and loads.. Looking further into the documentation I think the header needs to be `application/json' and if this is strictly to pull projects ther read API url is https://api.todoist.com/sync/v9/projects/get_data where you only need to pass an API key and project ID.
I'm thinking that the node_helper needs to be a read and not a post but I'm not entirely sure, there might be more that needs to be done to make this work.. unfortunately I can't seem to figure it out and I'm curious if any else has raised this issue.