Created
August 23, 2016 04:31
-
-
Save thejsj/80412d20d2645d9eba1b372745531822 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-get-by-id () { | |
curl -s https://api.github.com/user/$1 | python -m json.tool | |
} | |
github-get-by-username () { | |
curl -s https://api.github.com/users/$1 | python -m json.tool | |
} | |
github-get-by-orgname () { | |
curl -s https://api.github.com/orgs/$1 | python -m json.tool | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment