Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
/ zenhub_ruby Public archive
forked from tkm-kj/zenhub_ruby

Ruby client of ZenHub API

Notifications You must be signed in to change notification settings

tedconf/zenhub_ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Do not use this fork. It will be removed 11/15/2021.

This exists because the original author of this gem yanked and archived the repo and I needed to migrate all of TED's Zenhub data into Jira. So I forked it to fix it.

====

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

About

Ruby client of ZenHub API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%