cbrooker / MMM-Todoist

This is an extension for the MagicMirror2 platform. It will display your Todoist todos on your MagicMirror.
MIT License
151 stars 58 forks source link

ToDoist Just sits at Loading #120

Open nobbie25 opened 9 months ago

nobbie25 commented 9 months ago

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.

sophie-bell8 commented 9 months ago

Hey, I am having the same problem! I'm going to try and do some of the digging you have and follow along.

Fingers crossed for resolution - this is my final module to setup!

069chris commented 8 months ago

Same over here

openPhiL commented 7 months ago

I just realized it stopped working for me too..