crystal-github-simple
crystal-github-simple
A Crystal wrapper for the GitHub API.
Installation
Add this line to your application's shard.yml
:
dependencies:
github_simple:
github: pine613/crystal-github-simple
branch: master
Usage
See example example/commits.cr
.
require "github_simple"
include GitHub::Simple
client = Client.new
client.auto_paginate = true
client.access_token = "GITHUB_ACCESS_TOKEN"
p client.repos("owner", "repo").commits
p client.repos("owner", "repo").commit("sha")
Contributing
- Fork it ( https://github.com/pine613/crystal-github-simple/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
License
MIT License
Repository
crystal-github-simple
Owner
Statistic
- 2
- 1
- 1
- 0
- 1
- almost 9 years ago
- October 22, 2015
License
MIT License
Links
Synced at
Sat, 23 Nov 2024 01:38:14 GMT
Languages