DEV Community

Discussion on: 5 Different Ways to Get Contributors through the GitHub API

Collapse
 
a0m0rajab profile image
Abdurrahman Rajab • Edited

A feedback from Bassem Dghaidi:

Nice write-up! I think these calls can be made better by:

  1. Implementing a timeout on the calls
  2. Checking for API rate limitations if you're not authenticated you can only make 60 calls per hour and then you're blocked (both REST and GraphQL)
  3. Putting some boundaries on the pagination so that it doesn't spiral out of control