Reputation: 33
I'm trying to find a GitHub APIs for open pull requests count, without downloading them. () I looked through GitHub search API and repos API https://developer.github.com/v3/search/#search-issues-and-pull-requests https://api.github.com/repos/pulls?state=open But wasn't able to find here.
Upvotes: 1
Views: 965
Reputation: 3527
To search for PRs, you can use issues search with is:pr
modifier:
https://api.github.com/search/issues?q=rockstars%20state:open%20is:pr
The total_count
field of the response is what you need.
Upvotes: 3