Skip to content

youngmountain/node-github-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Example to call github via nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •