GitHub.js

Authorization and making requests

The library currently supports most authentication schemes that GitHub provides.

var GitHub = require('github-api');

// by default all requests are unauthenticated
// unauthenticated clients are limited to 60 request per hour
var noAuth = new GitHub();

// you can authenticate with username and password
var passwordAuth = new GitHub({
  username: 'MY_USERNAME',
  password: 'MY_PASSWORD'
});

// you can also provide an OAuth token to authenticate the requests
var oauthAuth = new GitHub({
  token: 'MY_OAUTH_TOKEN'
});
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy