node-github-client

0.0.9 • Public • Published

node-github-client

NPM version Build Status

github api for node.js

Features

  • authenticate via oauth token
  • get pull requests (all pages!)
  • get comments (all pages!)

Getting Started

npm install node-github-client

example:

var GithubClient = require('node-github-client');
var client = new GithubClient();

client.authenticate('<github-username>', '<githu-personal-token>');

client.getPullRequests('organization/repo-name', function(err, listOfPulls) {
    if (err) {
        console.error(err);
        return;
    }
    console.log(JSON.stringify(listOfPulls));
});

Package Sidebar

Install

npm i node-github-client

Weekly Downloads

1

Version

0.0.9

License

MIT

Last publish

Collaborators

  • kuronekomichael