Skip to content

GraphQL Get list of repos by name #24558

Discussion options

You must be logged in to vote

Not sure regarding the GraphQL API, but you can run a very simliar search using the REST search API.

I don’t think that there is an “OR” option in the search, but you use the following to search a specific string in the name and description:

https://api.github.com/search/repositories?q=coronavirus+fork:false+created:%3E2019-01-01

Regarding downloading all the results, you should use the pagination mechanism.

You have 10 reqeusts per minute for an unauthenticated user, and 30 per minute for an authentication one, so you should build your “downloading script” accordingly.

Hope that helps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment