Github API treats both as issues. In order to distinguish them, we would need 2 requests per repo:
- Repo GET - for basic repo's information (forks, stars) - we do have this one currently
- Repo's issues GET - for issues and pull requests. From this response, we can separate them out. Be aware, this request is paginated.
Github API treats both as issues. In order to distinguish them, we would need 2 requests per repo: