Last active
August 29, 2015 14:05
-
-
Save trptcolin/e428b0f80e3335757c33 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
# Hackery idea | |
- Github API (get/use an api key - otherwise really limited) | |
$ curl -u 'USERNAME_HERE' -d '{"scopes":["repo"],"note":"help example"}' https://api.github.com/authorizations | |
- find all your organizations (paginated) | |
- find all usernames (grouped by org name) who are in that group | |
with you | |
/orgs | |
doseq [org orgs] ;; will involve potentially multiple pages | |
- make /org/members (also paginated) | |
{"org_name_1": ["member_1", "member_2", "member_3"], | |
"org_name_2": ["member_a", "member_b", "member_c"]} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment