gh

Yet another Crystal library for accessing the GitHub API.

Gh

Yet another Crystal library for accessing the GitHub API.

Experimental.

Build Status

Installation

Add this to your application's shard.yml:

dependencies:
  gh:
    github: mosop/gh

Code Examples

Creating Pull Requests

Gh::Pull::Create
  .title("Creating Pull Requests")
  .head("john:create_pull_requests")
  .base("master")
  .body(<<-EOS
  Hi @mosop,

  I added the Gh::Pull class for creating pull requests.

  Thanks.
  EOS
  )
  .create! "mosop", "gh"

Usage

require "gh"

and see Code Examples.

Repository

gh

Owner
Statistic
  • 0
  • 0
  • 1
  • 0
  • 2
  • almost 8 years ago
  • January 3, 2017
License

MIT License

Links
Synced at

Mon, 23 Dec 2024 01:24:56 GMT

Languages