github-cr

Version, currently master branch1 version
  • master branchlatestMar 7, 2019

github.com/straight-shoota/github-cr

A Github API wrapper for Crystal

0 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  github-cr:
    github: straight-shoota/github-cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.27.2
License
MIT
Author
Arnav Borborah

Dependencies

Development Dependencies

  • webmock~> 0.10.0github: manastech/webmock.crdev

README

github-cr

Travis Build Status

A Github API wrapper for Crystal. Currently a work in progress, so don't use it for anything outside experimentation. Documentation is yet to be written.

TODO:

  • [x] Turn GithubCr::PaginatedResource and GithubCr::Page into iterators.
    • [ ] Implement a way to create complete requests.
  • [ ] Add OAuth and access token based authentication.
  • [ ] ~~Create a config system and pass a config object to all methods/classes.~~ Initialize parameters suffice.
  • [ ] Add tests for all classes and functions.
  • [ ] Add documentation for all parts of the public API.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      github-cr:
        github: arnavb/github-cr
  2. Run shards install

Usage

require "github-cr"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/arnavb/github-cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors