Last active
August 20, 2020 16:40
-
-
Save aabmass/53cef127b4d20eefac8332d0a8c125d1 to your computer and use it in GitHub Desktop.
GraphQL for my (or anyones) Github contributions
This file contains hidden or 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
| { | |
| user(login: "aabmass") { | |
| id | |
| login | |
| organizations(first: 10) { | |
| nodes { | |
| id | |
| name | |
| } | |
| } | |
| ...UserContributions | |
| } | |
| } | |
| fragment UserContributions on User { | |
| opentelemetryContributions: contributionsCollection( | |
| from: "2020-05-01T00:00:00", | |
| to: "2020-08-31T00:00:00", | |
| organizationID: "MDEyOk9yZ2FuaXphdGlvbjQ5OTk4MDAy" | |
| ) { | |
| ...OrgContribution | |
| } | |
| gcpContributions: contributionsCollection( | |
| from: "2020-05-01T00:00:00", | |
| to: "2020-08-31T00:00:00", | |
| organizationID: "MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE" | |
| ) { | |
| ...OrgContribution | |
| } | |
| ocContributions: contributionsCollection( | |
| from: "2020-05-01T00:00:00", | |
| to: "2020-08-31T00:00:00", | |
| organizationID: "MDEyOk9yZ2FuaXphdGlvbjI2OTQ0NTI1" | |
| ) { | |
| ...OrgContribution | |
| } | |
| } | |
| fragment OrgContribution on ContributionsCollection { | |
| pullRequestContributionsByRepository { | |
| repository { | |
| nameWithOwner | |
| } | |
| contributions(first: 100) { | |
| totalCount | |
| nodes { | |
| pullRequest { | |
| number | |
| additions | |
| deletions | |
| } | |
| } | |
| } | |
| } | |
| pullRequestReviewContributionsByRepository { | |
| repository { | |
| nameWithOwner | |
| } | |
| contributions(first: 100) { | |
| totalCount | |
| nodes { | |
| pullRequest { | |
| number | |
| } | |
| pullRequestReview { | |
| comments { | |
| totalCount | |
| } | |
| } | |
| } | |
| } | |
| } | |
| issueContributionsByRepository { | |
| repository { | |
| nameWithOwner | |
| } | |
| contributions(first: 100) { | |
| totalCount | |
| nodes { | |
| issue { | |
| number | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment