🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

github3

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github3

Node.js GitHub API (v3) Wrapper

1.2.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

github 3 Build Status

Node.JS GitHub API (v3) Wrapper

Installation

$ npm install github3

Example Code


var github3 = require('github3');

// get user information
github3.getUser('edwardhotchkiss', function(error, user) {
  console.log(user);
});

// get users repos
github3.getUserRepos('edwardhotchkiss', function(error, repos) {
  console.log(repos);
});

// get users watched repos
github3.getUsersWatched('edwardhotchkiss', function(error, watched) {
  console.log(watched);
});

// get an organizations github users
github3.getOrgMembers('github', function(error, members) {
  console.log(members);
});

Roadmap to 1.0.0

* Integrate oAuth Completely
* Document fully all methods
* Add Examples
* Build a non-trivial app with `github3`
* Release app on Nodejitsu
* Release Github3 v1.0.0

Running Tests

* Tests are being reworked. Considering using process.env['github_username'] etc...?

License (MIT)

Copyright (c) 2011, Edward Hotchkiss.

**

Author: Edward Hotchkiss

Contributors: Mark Lussier, @dolphin278, Matias Woloski, Tejesh Mehta, wemotom & Matt Loar

Keywords

github

FAQs

Package last updated on 13 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts