0.02
Repository is archived
No release in over 3 years
Low commit activity in last 3 years
Ruby client of ZenHub API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0
>= 0
>= 0

Runtime

 Project Readme

zenhub_ruby Build Status Gem Version

Ruby client of ZenHub API

Installation

Add this line to your application's Gemfile:

gem 'zenhub_ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install zenhub_ruby

Usage

Setup

require 'zenhub_ruby'

client = ZenhubRuby::Client.new('ZENHUB_ACCESS_TOKEN', 'GITHUB_ACCESS_TOKEN')

or

client = ZenhubRuby.new('ZENHUB_ACCESS_TOKEN', 'GITHUB_ACCESS_TOKEN')

Get issue data

client.issue_data('REPO_NAME(ex: "tkm-kj/zenhub_ruby")', ISSUE_NUMBER)

Get issue events

client.issue_events('REPO_NAME', ISSUE_NUMBER)

Get the ZenHub Board data for a repository

client.board_data('REPO_NAME')

Contributing

  1. Fork it
  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 new Pull Request

License

MIT