Last active
September 21, 2020 22:43
-
-
Save edwindotcom/17005f658976a552905f013183ba1db3 to your computer and use it in GitHub Desktop.
github gql - search by most stars
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
query SearchMostTop10Star($queryString: String!, $number_of_repos:Int!) { | |
search(query: $queryString, type: REPOSITORY, first: $number_of_repos) { | |
repositoryCount | |
edges { | |
node { | |
... on Repository { | |
name | |
url | |
description | |
stargazers {totalCount} | |
} | |
} | |
} | |
} | |
} | |
# Variables | |
{ | |
"queryString": "language:JavaScript stars:>10000", | |
"number_of_repos": 10 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment