2 ms·
> I queried page 1000 to see the 10001st-10010th results and got a 404. Yeah, the GitHub API also only serves 100 pages with 100 results each max. If you want
by schroeding 4y ago
> I queried page 1000 to see the 10001st-10010th results and got a 404.
Yeah, the GitHub API also only serves 100 pages with 100 results each max. If you want more, you need to use dirty hacks like slicing the search into blocks by sorting and filtering based on the creation date or the number of stars of a repo.
Be careful though, in my experience the results are not consistent anymore as soon as you enter low star or old repository territory, probably depending on the actual API server you hit, forcing you to query multiple times to really get (hopefully) all results. :)