Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
query SearchMostTop10Star($queryString: String!, $numberRepos:Int!) {
search(query: $queryString, type: REPOSITORY, first: $numberRepos) {
repositoryCount
edges {
node {
... on Repository {
name
url
description
# shortDescriptionHTML
createdAt
pushedAt
updatedAt
releases {releases: totalCount}
forks: forkCount
pullRequests {pullRequests: totalCount}
stargazers {stars: totalCount}
totalIssues: issues {totalIssues: totalCount}
openIssues: issues(states:[OPEN]) {openIssues: totalCount}
primaryLanguage {primaryLanguage: name}
languages(first: 3) { nodes {name} }
repositoryTopics(first: 12) {nodes {topic {name}}}
}
}
}
}
}
{
"queryString": "GraphQL language:Go stars:>10 forks:>3 size:>2000 pushed:>=2018-08-08",
"numberRepos": 10
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.