pridkett/gitminer — pull request #29 by Nielsomat (2012-12-05 12:48:30+00:00)
Title: Add OAuth2 token authentication to GitHub API client

Hey Patrick,

wonderful tool – thanks for making it available!

Attached is a small patch to add OAuth2 token support to authenticate w/ GitHub. See http://developer.github.com/v3/#authentication and http://developer.github.com/v3/oauth/#create-a-new-authorization.

Reason I needed this is that OAuth applications may be granted API rate limit increases by GitHub upon request (see http://developer.github.com/v3/#unauthenticated-rate-limited-requests). And of course it's always a good feeling not to have your passwords stored somewhere in plain text.

Cheers,
Niels