gh
Version, currently 0.2.25 versions
github.com/mosop/gh
Yet another Crystal library for accessing the GitHub API.
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
gh:
github: mosop/gh
version: ~> 0.2.2Then run:
shards installshard.yml
- Crystal
0.20.5- License
- MIT
- Author
- mosop
Dependencies
Runtime Dependencies
- global_config~> 0.1.0github: mosop/global_config
Development Dependencies
- crystal_plus~> 0.1.2github: mosop/crystal_plusdev
README
Gh
Yet another Crystal library for accessing the GitHub API.
Experimental.
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.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.2- Tagged
- Mar 5, 2017
- Commit
2e74d29c02da- Crystal
0.20.5- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/mosop/gh
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 26, 2026
- Synced
- Sep 26, 2026
- Versions
- 5