ghpulls
A node library to interact with the GitHub pull requests API
Example usage
const ghpulls = authOptions = user: 'rvagg' token: '24d5dee258c64aef38a66c0c5eca459c379901c2' // list all pulls in a repoghpulls
The auth data is compatible with ghauth so you can just connect them together to make a simple command-line application:
const ghauth = ghpulls = authOptions = configName : 'pulls-lister' scopes : 'user'
There is also a ghpulls.listComments(auth, org, repo, num, options, callback)
API for review comments, currently doesn't seem like the end-point is quite complete, however.
License
ghpulls is Copyright (c) 2015 Rod Vagg @rvagg and licensed under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.