Skip to content

Instantly share code, notes, and snippets.

@willin
Last active April 26, 2018 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willin/6b082d4c874e553eaa6c2f1dfada23b7 to your computer and use it in GitHub Desktop.
Save willin/6b082d4c874e553eaa6c2f1dfada23b7 to your computer and use it in GitHub Desktop.
Github GraphQL API
{
user(login: "willin") {
followers {
totalCount
}
repositories {
totalCount
}
repositoriesContributedTo {
totalCount
}
starredRepositories {
totalCount
}
projects: repositories(first: 10, isFork: false, privacy: PUBLIC, orderBy: {field: UPDATED_AT, direction: DESC}) {
totalCount
nodes {
name
description
url
primaryLanguage {
name
color
}
stargazers {
totalCount
}
forks {
totalCount
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment