Skip to content

Instantly share code, notes, and snippets.

@ericbmerritt
Last active June 26, 2019 05:06
Show Gist options
  • Save ericbmerritt/0747ecf7b1a2f789fcf88894322d39e2 to your computer and use it in GitHub Desktop.
Save ericbmerritt/0747ecf7b1a2f789fcf88894322d39e2 to your computer and use it in GitHub Desktop.
graphql api
query foo($l: String!) {
user(login: $l) {
login
name
email
location
websiteUrl
avatarUrl
bio
bioHTML
company
companyHTML
isHireable
repositories {
totalCount,
nodes {
name
}
}
repositoriesContributedTo(contributionTypes: COMMIT, first: 100) {
nodes {
name
}
}
pullRequests(first: 100) {
totalCount
nodes {
files(first: 100) {
nodes {
path
}
}
repository {
languages(first: 100) {
nodes {
name
}
}
}
commits(first: 100) {
nodes {
commit {
commitUrl
author {
email
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment