I am working on a project in which I intend to leverage the Github API.
I have found a few Ruby Gems, but none that seems quite “ready for prime time”.
Do you have experience with (or have written yourself) a good Gem for access to the Github API?
Do you have a snippet (Gist or other) of sample code that demonstrates:
Authentication with OAuth/OAuth2
Access to a list of Public Gists (just as an example)
I have Registered the application in Github; so I have a ‘Client ID’ and ‘Client Secret’
For oauth I’ve just used omniauth with the facebook/twitter adapters but omniauth-github should do the same.
The ‘gh’ gem works for cases where you want to access private repos