ajaxorg/node-github — pull request #27 by stonebk (2012-05-10 22:54:27+00:00)
Title: Support enterprise github api requests

GitHub Enterprise supports the API (https://support.enterprise.github.com/entries/21391237-using-the-api), however the request are of a different url and format:

http(s)://[hostname]/api/v3/

To support this format, make protocol, host, port, and url configurable.

var github = new GitHubApi({
protocol: 'http(s)',
host: '[hostname]',
url: '/api/v3'
});