through the GitHub API, is it possible to get the number of open pull requests for a repository without downloading all the extra data related to the pull requests themselves?
For example, when you get the list of your repositories, for each of the repo you can see the number of open issues. Is there a similar property for open pull requests?
1 Answer. Show activity on this post. You can use a search query to look for issues : with type pr : type:pr.
You can also find pull requests that you've been asked to review. At the top of any page, click Pull requests or Issues. Optionally, choose a filter or use the search bar to filter for more specific results.
You might also take a look at the search api https://developer.github.com/v3/search/#search-issues. Looks like you can filter on type and probably also on closed or not :)
As suggested by codea in the comments:
https://api.github.com/search/issues?q=+type:pr+user:StackExchange&sort=created&order=asc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With