Todoist RubyRuby版Todoist API封装器(2014)
Todoist用于Ruby的Todoist API包装器,支持API版本2014。安装方法如下:将此行添加到应用程序的Gemfile中:
gem 'todoist-ruby', require: 'todoist'
然后执行:
$ bundle
或者自己安装:
$ gem install todoist-ruby
接着,将此行添加到代码中:
require 'todoist'
基本用法:
配置访问令牌,这一步必须在与Todoist API交互之前执行:
Todoist::Configuration.token = 'e6705ab0SECRETTOKENcfbcc1b'
列出您的项目:
Todoist::Project.all
下载地址
用户评论