1.0.0 • Published 9 years ago
@wormss/batch-github v1.0.0
node-github
Batch Simple Github API
API:
Contructor Arguments
get
- arrPath [ArrayObject]. Array of Objects with the following properties
- path String. String that confirms to the @wormss/github::get path argument.
- data *|undefined. Some data that will be passed back out once call has finished. eg An identifier/object reference.
getAll
- arrPath [ArrayObject]. Array of Objects with the following properties
- path String. String that confirms to the @wormss/github::get path argument.
- data *|undefined. Some data that will be passed back out once call has finished. eg An identifier/object reference.
Usage:
Constructing
// standard way
var github = ....
var BatchGitHubAPI = require('@wormss/batch-github');
var batch = new BatchGitHubAPI({ "github": github });
// quick instance with arguments
var github = ....
var batch = require('@wormss/batch-github').init({ "github": github });
1.0.0
9 years ago