Hello. I’ve been asked to build a web solution that lists the owners of public repos on Github. I need to collect a list of 100 most popular project owners on Github by follower count. For each owner I need:
- The owners avatar (URL)
- list of followers for that owner (or first 5 to keep the query smaller)
I’m new to GraphQL, but it seems like the perfect solution for my needs. I only have 5 days to learn GraphQL and code the solution. Step one is to pick between using the Rest API or the GraphQL API. I’m having a hard time finding in the documentation how to return a list of anything. In the GraphQL documentation all their examples have plural query fields like userS or licenseS that return a list of items, but it appears Github is using nodes to get lists.
Can anyone show me the query to get this information? Or point me to some documentation that explains how to return lists of Github items. Thanks, -=Steve