Skip to content

Instantly share code, notes, and snippets.

@katopz
Created November 26, 2016 04:54
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save katopz/2729ace879e3576e8da9292cc8433673 to your computer and use it in GitHub Desktop.
Save katopz/2729ace879e3576e8da9292cc8433673 to your computer and use it in GitHub Desktop.
GraphQL Github Example : Search for top ten stargazers
// 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
}
}
}
}
}
@tik9
Copy link

tik9 commented Jan 22, 2024

The link does not work

@thevahidal
Copy link

The links is broken as @tik9 mentioned, use this instead:
https://docs.github.com/en/graphql/overview/explorer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment