Last active
August 14, 2018 00:40
-
-
Save li-boxuan/0c370cca038bf706200b070f1dfa9921 to your computer and use it in GitHub Desktop.
Get a list of orgs which you have been contributed to on GitHub
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
query($login: String!, $before: String){ | |
user(login:$login) { | |
repositoriesContributedTo(last: 100, before: $before) { | |
pageInfo { | |
startCursor | |
hasPreviousPage | |
} | |
nodes { | |
owner { | |
login | |
} | |
name | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use https://developer.github.com/v4/explorer/ to play with it.