I’m querying review statuses for kepler so they can get a sense of who is doing all of the PR approvals and how long things are taking.
URL: https://api.github.com/graphql
Header: Authorization: Bearer TOKEN_GOES_HERE
For the token, you’ll need to make a github token here. I used repo & user scopes.
In curl:
Script to query the results
And to determine the time between first approval and second approval: