h6y3 / todoist-ruby

An unofficial Todoist Ruby client that interfaces with the official Todoist API
MIT License
27 stars 9 forks source link

v7 removed in favor of v8 #6

Closed garyking closed 4 years ago

garyking commented 5 years ago

https://github.com/h6y3/todoist-ruby/blob/562521ca448f5638ea0d6b150b1bebdcf8097620/lib/todoist/config.rb#L3

The v7 endpoint was completely removed in favor of the v8 API, FYI.

h6y3 commented 5 years ago

Ahh that explains why things seem to completely blow up :)

garyking commented 5 years ago

I've just copied this gem to my own project and changed that line, for now. That fixed the issue for me. But I don't use any of the endpoints that have changes made to them, so that might not be enough of a fix for the entire library.

h6y3 commented 5 years ago

I should be able to make the change and run the unit tests. I use the library as a series of cron jobs that analyze my tasks, assigns and rebases them according to scripts, postpones, etc. so I started seeing issues the last few days but since my work is a series of cron jobs I didn't have time to figure out what was up. On the v7 endpoint I was getting HTTP 429 errors which I found strange since that is rate limiting when it should have been just an HTTP 400

h6y3 commented 4 years ago

I guess I closed this issue and never updated the bug