Last active
September 10, 2020 12:17
-
-
Save nrchandan/446316c97388eec12520fcb39c7991d2 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
# Type queries into this side of the screen, and you will | |
# see intelligent typeaheads aware of the current GraphQL type schema, | |
# live syntax, and validation errors highlighted within the text. | |
# We'll get you started with a simple query showing your username! | |
query { | |
viewer { | |
name | |
login | |
contributionsCollection(from: "2020-09-01T00:00:00.000Z") { | |
totalCommitContributions | |
restrictedContributionsCount | |
} | |
repositoriesContributedTo(first: 1, contributionTypes: [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]) { | |
totalCount | |
} | |
pullRequests(first: 1) { | |
totalCount | |
} | |
issues(first: 1) { | |
totalCount | |
} | |
followers { | |
totalCount | |
} | |
repositories(first: 100, ownerAffiliations: OWNER, isFork: false, orderBy: {direction: DESC, field: STARGAZERS}) { | |
totalCount | |
nodes { | |
stargazers { | |
totalCount | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment