Closed ghost closed 10 months ago
I'm having a lot of trouble navigating the sample responses in their tiny scrollable panes on my phone… The repository info feature fetches the /repos/:owner/:name
API resource, so if you (or future-me) can find a relevant field therein, it'll be easy.
Alternate approach? Probably would have to issue at least one additional API request to fetch the PR count (total_results
) and then subtract the open PR count from the total open issues.
Last I looked, not provided by the API easily, unfortunately. Only workaround is making a boatload of requests, which isn't really ideal.
Right now the bot says something like:
Ideally it would say (at this exact moment), something like:
or
If the GitHub API makes this impossible...well...curses M$FT.