Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #56 from jjperezaguinaga/master

Instructions to generate the Gist API Token
  • Loading branch information...
commit d0135c0298da081e0d06909eb4fa7d0f19873c2b 2 parents 7ba9de8 + e754ff8
@condemil authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
8 README.md
@@ -14,6 +14,14 @@ Go to the "Packages" directory (`Preferences` / `Browse Packages…`). Then clon
git clone git://github.com/condemil/Gist
+# Generating Access Token
+
+Currently, the only way to create a Gist Access Token is to curl the authorize API from Github. Here's the command you can run from your terminal to do so:
+
+ curl -v -u USERNAME -X POST https://api.github.com/authorizations --data "{\"scopes\":[\"gist\"]}"
+
+Where USERNAME is your Github username. Save the token generated and paste it in the settings section under the token option.
+
# Options
If you're using OS X and have a keychain entry for github.com, no configuration is needed. Otherwise, edit the settings file (it should open automatically the first time you use a Gist command). Note you must specifiy either username AND password or token.
Please sign in to comment.
Something went wrong with that request. Please try again.