Licence
ISC
Version
1.0.0
Deps
2
Vulns
0
Weekly
0
Palmetto Flow Github Service
This service using the octonode api to create a palmetto flow service for the github api.
usage
npm i palmettoflow-github-svc
// get starred repos for a user
var newEvent = require('palmettoflow-event').newEvent
var ne = newEvent('github/user/starred', 'get', {}, {
access_token: '....'
})
ee.once(ne.from, function (repos) {
console.log(repos)
})
ee.emit('send', ne)
// get readme for repo
var newEvent = require('palmettoflow-event').newEvent
var ne = newEvent('github/user/starred', 'get', {}, {
access_token: '....'
})
ee.once(ne.from, function (repos) {
console.log(repos)
})
ee.emit('send', ne)