I've been looking through the API docs, but I was unable to find a way to accomplish that. Thought I'd ask here in case anyone knows. thanks!
Use the Search Issues API endpoint:
repo
keyword to filter by repo (e.g. repo:ionicabizau/scrape-it
)is:pr
to filter the pull requests (note that pull requests are issues, but issues are not pull requests)label
keyword to filter by label: label:your-label
Example:
https://api.github.com/search/issues?q=is:pr%20label:enhancement%20repo:ionicabizau/scrape-it