Giter Club home page Giter Club logo

Comments (5)

mikeconley avatar mikeconley commented on July 29, 2024

I'm all for it.

GitHub's API documentation is here. Here's the section on Pull Requests. A quick glance doesn't show a quick and easy way of getting the list of open pull requests for a user across repositories, so we might need to first query for the repository list, and then ask each of them for an open pull request count.

It might be possible to work with the Notification API to get that information as well.

from myqonly.

ncalexan avatar ncalexan commented on July 29, 2024

This information is already present, per-user, in https://github.com/pulls/review-requested so surely we can either use the API or scrape that.

from myqonly.

thomcc avatar thomcc commented on July 29, 2024

Their v4 API is GraphQL based, which IIUC allows getting this stuff without scraping, even if the REST API doesn't support it. There's even a neat tool to try queries with: https://developer.github.com/v4/explorer/

from myqonly.

jaredhirsch avatar jaredhirsch commented on July 29, 2024

Found a stackoverflow answer with the correct snippet (just need to sub in the user for 'refack'): https://stackoverflow.com/questions/48255251/how-to-query-review-requests-by-user-using-githubs-v4-graphql-api

from myqonly.

thomcc avatar thomcc commented on July 29, 2024

Actually, https://developer.github.com/v3/search/#search-issues seems to work for q = 'type:pr review-requested:$username is:open'

from myqonly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.