Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-issues

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-issues

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Github Issues

This is a little API that gives easy access to the github issues. I started the project because I had to move tickets from github to redmine.

The API is called using URI.open and YAML for serialization.

Note: this is currently a read-only API, also this just covers version 2 of the API

Installing

gem install github-issues

Usage

Connecting to the issues host

In order to access the information on the github repository one has to make a connection to the remote repository.

repo = Github.connect("threez", "github-issues")

Reading all issues

This will return all issues found on the repository.

repo.issues.all # => [Github::Issue, ...]

Reading just open or closed issues

Filter which issues should be displayed.

repo.issues.all(:open) # => [Github::Issue, ...]
repo.issues.all(:closed) # => [Github::Issue, ...]

Getting informations about a issue

access all the information of an issue easily:

issue.number # => 64
issue.createt_at # => Time
issue.comments # => [Github::Issue::Comment, ...]

Comments in an issue

comment.user # => "threez"
comment.body # => "close #34 (implemented read-only part)"

FAQs

Package last updated on 04 Dec 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc