$ gnpm install ghutils
A collection of utility functions for dealing with the GitHub API
Used by:
Helper to make options to pass to jsonist given a GitHub auth from ghauth and any additional options.
Takes a JSON response from the GitHub API and turns any errors and applies them properly to the callback
.
Make a GitHub API compatible POST request to the given URL via jsonist, uses makeOptions()
to extend the options. Requires a GitHub auth from ghauth and any additional options.
Make a GitHub API compatible GET request to the given URL via jsonist, uses makeOptions()
to extend the options. Requires a GitHub auth from ghauth and any additional options.
Given a paginated url resource, recursively fetch all available pages of data and return an array containing the complete list.
The api root url 'https://api.github.com'
.
ghutils 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.md file for more details.
Copyright 2013 - present © cnpmjs.org | Home |