Closed nschloe closed 3 years ago
GitHub's graphql API is interesting as it doesn't have the limitation of the first 40k stargazers. Unfortunately, the stargazer queries, e.g.,
{ repository(owner: "nschloe", name: "meshio") { description stargazerCount stargazers (first: 1) { pageInfo { endCursor hasNextPage hasPreviousPage startCursor } totalCount edges { starredAt node { login } } }
don't have random access when it comes to pagination: There's only the before and after argument to which you supply a cursor. See
before
after
GitHub's graphql API is interesting as it doesn't have the limitation of the first 40k stargazers. Unfortunately, the stargazer queries, e.g.,
don't have random access when it comes to pagination: There's only the
before
andafter
argument to which you supply a cursor. See