h6y3 / todoist-ruby Goto Github PK
View Code? Open in Web Editor NEWAn unofficial Todoist Ruby client that interfaces with the official Todoist API
License: MIT License
An unofficial Todoist Ruby client that interfaces with the official Todoist API
License: MIT License
todoist-ruby/lib/todoist/config.rb
Line 3 in 562521c
The v7 endpoint was completely removed in favor of the v8 API, FYI.
๐ The activity API requires an 'object_type' parameter ('item,
noteor
project) in order to query by
object_id`. I was able to get everything work by making the call with the helper like the Activity class does and passing in the object type parameter.
I'd be happy to submit a PR with a fix, but I wasn't sure if there was a good way to detect what type of object was passed or if the field should just be a text field that you have to know to put the correct name in.
Additionally, there are a few other ways you can filter activities like event_type
that are not in the api.
params = { 'object_id' => task.id, 'object_type' => 'item', 'event_type' => 'completed' }
activity = @client.api_helper.get_response(Todoist::Config::TODOIST_ACTIVITY_GET_COMMAND, params)
It looks like in todoist/util/network_helper.rb, it needs a require 'openssl'
to work. I'm getting an error when I try the @client.misc_quick.add_item("my item")
, and adding the "require" seemed to fix it. I'll create a pull request if you want, but this seemed like a pretty simple fix.
Hello, I'm getting occasional 404s like "This API endpoint is no longer available.\n\nPlease refer to our documentation to upgrade your client to use the latest API version: https://developer.todoist.com/sync/v9/#migrating-from-v8\n\n"
I don't know how tricky will it be to comprehensively update the gem for the v9 of sync api, but in the meantime, any workaround suggestions? How could I try to just tweak the version in the base url and hope that the few endpoints I actually use, maybe things just stay the same and I can keep using this gem?
Due to vulnerabilities in Rake, the gemspec needs to be updated.
For some reason, this method doesn't work at all.
Migrate to Faraday over net/http for usability purposes.
Is there any chance that you will support the new Todoist v8 Rest API with this library?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.