Giter VIP home page Giter VIP logo

todoist-ruby's People

Contributors

h6y3 avatar juliend2 avatar mtantawy avatar smarquez1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

todoist-ruby's Issues

v8 -> v9 transition

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?

Uninitialized constant (OpenSSL)

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.

Get Activity not fully functional

๐Ÿ‘‹ The activity API requires an 'object_type' parameter ('item, noteorproject) 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.