0.0.2 • Published 10 years ago

node-github-api v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

github-api NPM version Build Status Dependency Status Coverage Status

retrieve github stars.

Install

$ npm install --save github-api

Usage

###Get all stars

var github-api = require('node-github-api');
github.getStars('kwakayama')
.then(function(stars) {
  console.dir(stars.length);
})

###Get all stars from last id onwards

var github-api = require('node-github-api');
github.getStars('kwakayama', 18611173)
.then(function(stars) {
  console.dir(stars.length);
})

API

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

Release History

(Nothing yet)

License

Copyright (c) 2014 Kentaro Wakayama. Licensed under the MIT license.