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
  • about 7 years ago
  • January 3, 2017
License

MIT License

Links
Synced at

Fri, 03 May 2024 03:01:19 GMT

Languages