-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How soon are you pushing 0.1.0? #24
Comments
oh it seems you're moving everything to https://github.com/c9/node-github3 |
nope, it's the other way around in fact! |
ah lol, so its now: var GitHubApi = require('node-github');
var github = new GitHubApi({ version: '3.0.0' }); right? |
yes, indeed! There are some API incompatibilities between the two versions, but they are easy to spot. |
what about |
nvm github.authenticate({
type: "basic",
username: username,
password: password
});
github.user.update({
location: "Argentina"
}, function(err) {
console.log("done!");
}); |
I added more examples there for you - and all others with the same question, of course ;) |
|
oh nevermind, i still had |
hmm, still seems that |
please read the README, I added a comment to the code example. |
Github isn't supporting token auth it seems in v3 with username/token combination, only basic or oauth2 http://developer.github.com/v3/#authentication we should remove the token auth type |
ah I see your comment now, it wasn't there when I checked a bit ago :) |
nice work, closing this issue 👍 |
No description provided.
The text was updated successfully, but these errors were encountered: