Created
November 26, 2016 04:54
-
-
Save katopz/2729ace879e3576e8da9292cc8433673 to your computer and use it in GitHub Desktop.
GraphQL Github Example : Search for top ten stargazers
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
// Try at : https://graphql-explorer.githubapp.com/ | |
{ | |
search(query: "language:JavaScript stars:>10000", type: REPOSITORY, first: 10) { | |
repositoryCount | |
edges { | |
node { | |
... on Repository { | |
name | |
descriptionHTML | |
stargazers { | |
totalCount | |
} | |
forks { | |
totalCount | |
} | |
updatedAt | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The links is broken as @tik9 mentioned, use this instead:
https://docs.github.com/en/graphql/overview/explorer