#github_simplestat
pass in user name (example "jackrometty") to see how many commits they've pushed. can pass in an auth file or go without it. rate limit without auth is 60/min and with is 5000/min.
example usage:
23jkh5k4jh213... (client key)
245h45kjhl2k3... (client secret)
var gh = require('github_simplestat');
// with auth
gh.valid_data('jackrometty', 'auth.txt' function(data) {
console.log(data);
});
// without auth
gh.valid_data('jackrometty', null function(data) {
console.log(data);
});
{
"today": 5,
"thisweek": 11
}
yes this is crazy simple and small, and that's because this is also a learning project. if you have any advice let me know!