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

MIT License

Links
Synced at

Fri, 22 Nov 2024 02:19:14 GMT

Languages