ClickUp API solution for Ruby. As of v0.1.1
, it doesn't support OAuth Authentication. You can only use personal token based authentication.
gem install 'click_up'
Or add the following line to your Gemfile.
gem 'click_up'
Next, you need to run the generator:
rails generate click_up:install
It generates a click_up.rb
initializer file at config/initializers/
.
Add your ClickUp personal token to this initializer file:
ClickUp.api_token = 'pk_1e2....................'
ClickUp::Team.all
ClickUp::Space.all(team_id: 3451451)
ClickUp::Space.create(team_id: 3451451, name: 'Space From API')
ClickUp::Space.get(323455)
ClickUp::Space.delete(323455)
ClickUp::Folder.create(space_id: 323455, name: 'Folder From API')
ClickUp::Folder.get(756376)
ClickUp::Folder.delete(756376)
ClickUp::List.create(space_id: 323455, name: 'Folderless list')
ClickUp::List.create(folder_id: 756376, name: 'Foldered list')
ClickUp::Task.all(list_id: 4766363)
ClickUp::Task.create(list_id: 4766363, name: 'Task from API')
Pull requests and comments are welcome.
MIT License