github-cr

Wrapper to GitHub API github-api github-api-v3
HEAD Latest release released

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

github-cr:
  github: arnavb/github-cr
  
License MIT
Crystal 0.27.2

Authors

Dependencies 0

Development Dependencies 1

  • webmock ~> 0.10.0
    {'github' => 'manastech/webmock.cr', 'version' => '~> 0.10.0'}

Dependents 1

Last synced .
search fire star recently