You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Github GraphQL API would allow to query all the needed data for 100 repos with one request. This would make it possible to stay below the rate limit without using a timeout. (More info on the GraphQL ratelimits)
As discussed here https://lemmy.world/post/3622280
Using the Github GraphQL API would allow to query all the needed data for 100 repos with one request. This would make it possible to stay below the rate limit without using a timeout. (More info on the GraphQL ratelimits)
An example of how this could look can be found here: https://github.com/mkitzmann/awwesome/blob/main/src/lib/query.ts
The (POST) request to https://api.github.com/graphql looks something like this:
It can be tested inside the GitHub GraphQL explorer: https://docs.github.com/en/graphql/overview/explorer
The text was updated successfully, but these errors were encountered: