Cross posting as I’ve opened this as an issue on the git repo for this but I’m curious if anyone else has figured out a way to get this to work.
I installed ToDosit module today and have been struggling to get it to work. I’ve been reading ToDoist’s 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 the 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 to make a read request and not a post but I’m not entirely sure because the post might be to pull the access token. Unfortunately I can’t seem to figure it out and I’m curious if any else has modified the node_helper or the MMM-Todoist.js to get this to work for them.