1.1.0 • Published 8 years ago
api-github v1.1.0
ApiGithub
Sane, and simple wrapper for the github API.
Usage
var ApiGithub = require('api-github'),
api = new ApiGithub({});
api.users.find('RWOverdijk').then(console.log).catch(console.error);
api.orgs.find('SpoonX').then(console.log).catch(console.error);
api.repos.find('spoonx/aurelia-orm').then(console.log).catch(console.error);
New
- Added authorizations support
- Return response on failure
- Added support for subscriptions
- Added support for custom auth headers