No commit activity in last 3 years
No release in over 3 years
Wrapper for todoist api v6.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3
~> 1.21
 Project Readme

Build Status

Todoist::Api

Gem to wrap the Todoist Api v6 as described on https://developer.todoist.com/

Note: Until a more complete coverage of the all Todoist features is achieved the api is unstable and no semantic versioning will be applied.

Goals

  • To provide an easy to use, well tested, wrapper for the Todoist Api
  • Use a minimal set of dependencies apart from the Ruby standard library (exception for development dependencies, although also bare minimum).
  • Ruby 2.1 and up

Installation

Add this line to your application's Gemfile:

gem 'todoist-api', git: 'https://github.com/maartenvanvliet/ruby-todoist-api', branch: 'master', require: 'todoist'

And then execute:

$ bundle install

Usage

todoist = Todoist::Client.new(todoist_token)
todoist.items.create(content: 'Some new todo')
todoist.process!

Future

Possible spinoff would be a gem to do provide a CLI interface to Todoist.

Contributing

  1. Fork it ( https://github.com/maartenvanvliet/ruby-todoist-api/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request