Update: Looks like this only returns:
A list of repositories that the user recently contributed to.
I guess "recently" means 1 year.
Also, it only selects up to 100 repositories at a time.
You can use the following GraphQL query in the API Explorer:
query getContributions($login: String!, $contributionTypes: [RepositoryContributionType]) {
user(login: $login) {
repositoriesContributedTo(contributionTypes: $contributionTypes, first: 100, includeUserRepositories: false, orderBy: {field: STARGAZERS, direction: DESC}) {
pageInfo {
hasNextPage
endCursor
}
nodes {
nameWithOwner
}
}
}
}
Put this in query variables (replace login with your own user id) and then execute.
{
"login": "zypA13510",
"contributionTypes": [
"COMMIT",
"REPOSITORY"
]
}
The list of valid contributionTypes
:
COMMIT
Created a commit
ISSUE
Created an issue
PULL_REQUEST
Created a pull request
REPOSITORY
Created the repository
PULL_REQUEST_REVIEW
Reviewed a pull request