Kanban Tool
A Ruby wrapper library for accessing the Kanban Tool API.
Note: this is currently a limited, read-only interface. Contributions to extend the functionality are welcome.
Installation
Add this line to your application's Gemfile:
gem 'kanbantool'
And then execute:
bundle
Or install it yourself as:
gem install kanbantool
Usage
Make sure you have an API key, then create a client:
client = KanbanTool::Client.new(SUBDOMAIN, API_KEY}
You can then call methods on the client to retrieve data from the API:
# Retrieve an array of all boards under this account
client.boards #=> [#<KanbanTool::Board:0x00 ...>, ...]
# Retrieve a single board, including stages
client.board(BOARD_ID) #=> #<KanbanTool::Board:0x00 ...>
# Retrieve an array of all tasks for a specific board
client.tasks(BOARD_ID) #=> [#<KanbanTool::Task:0x00 ...>, ... ]
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes and tests (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request