toggl_api:Toggl API Ruby 客户端

时间:2021-07-07 17:09:17
【文件属性】:
文件名称:toggl_api:Toggl API Ruby 客户端
文件大小:33KB
文件格式:ZIP
更新时间:2021-07-07 17:09:17
Ruby Toggl API Ruby 客户端 切换接口 和 API 的 Ruby 接口 安装 将此行添加到应用程序的 Gemfile 中: gem 'toggl_api' 然后执行: $ bundle 或者自己安装: $ gem install toggl_api 用法 基础API base = Toggl::Base.new "2a9800b95ef1d8d2b61d630f5df448f8" base.me(true) ##will return current user data with related data, default is false base.time_entries(Date.today) ##return today's entries entries = base.time_entries(Date.today - 1, Date.today)
【文件预览】:
toggl_api-master
----.gitignore(154B)
----toggl_api.gemspec(1KB)
----LICENSE(1KB)
----LICENSE.txt(1KB)
----README.md(1KB)
----lib()
--------toggl_api.rb(137B)
--------toggl_api()
----Gemfile(96B)
----Rakefile(28B)
----test()
--------test_time_entry.rb(2KB)
--------test_task.rb(1KB)
--------test_user.rb(1KB)
--------test_client.rb(1KB)
--------base_test.rb(898B)
--------helper.rb(246B)
--------test_workspace.rb(2KB)
--------test_report.rb(1KB)
--------test_project.rb(3KB)
--------fixtures()
--------test_tag.rb(706B)

网友评论