A tool for gathering GitHub stats!
$ npm install -g promotime
# Get your aggregate stats for the last year
$ promotime JustinBeckwith --start 2018-03-01 --end 2019-03-01
SELECT * FROM `githubarchive.month.*` WHERE actor.login='JustinBeckwith' AND created_at > '2018-03-01' AND created_at < '2019-03-01'
{ pullRequestsCreated: 2389,
pullRequestCommentsMade: 1026,
issuesClosed: 2833 }
For now, this uses the Google Cloud SDK for authentication. I know, that's less than ideal. If anyone wants, I can add the code to do OAuth2 based auth.
$ gcloud auth login
$ gcloud auth application-default login