Getting an Oauth2 token for GitHub, command line

Posted by & filed under Open-source, Web Development.

If you’re looking to use the GitHub API outside a web application, you’ll need to generate an OAuth 2 token. GitHub provides a good way to add a non web app to your account. It’s done with a curl, command-line: curl \ –user “myuser” \ –data ‘{“scopes”:[“user”],”note”:”GitHub Stars to Bookmarks”}’ which will ask you… Read more »