gh
gh copied to clipboard
Minimalistic GitHub API client in R
I've been doing lots of API work lately with the `master` --> `main` task. And I've used the rectangling toolkit from tidy a lot. As it stands, I have to...
* Error? * Warn? Sending a password that is not a PAT can be a security issue, although we are sending it to the _very same host_ we would send...
Scenario: I'm running a query and didn't realize how many results are returned. The progress bar (#26) indicates that it's going to be too long, but I'd like to look...
I have a question is there any way that I can upload a file (image) using gitAPI. Please help me if you have any ideas or workarounds. I appreciate it.
In {travis} and {tic} we have a bunch of helper funs to undertake some common tasks (permission handling, getting owners, writing secrets and SSH keys) on GitHub: - https://github.com/ropenscilabs/travis/blob/f2dd9a3640b0cd8266b0a813c8eaf6bf3775c83d/R/github-key.R -...
I'm a huge fan of how `gh` parses and builds an HTTP request. As I rely more and more on web APIs, I'm quickly desiring a layer of abstract that...
i.e. see how many requests you have left in the current period, and another function to automatically wait until you have another request
i.e. `gh::gh("/repos/hadley/dplyr")` gives: ``` ... "statuses_url": "https://api.github.com/repos/hadley/dplyr/statuses/{sha}", ... "git_commits_url": "https://api.github.com/repos/hadley/dplyr/git/commits{/sha}", "comments_url": "https://api.github.com/repos/hadley/dplyr/comments{/number}", "issue_comment_url": "https://api.github.com/repos/hadley/dplyr/issues/comments{/number}", "contents_url": "https://api.github.com/repos/hadley/dplyr/contents/{+path}", "compare_url": "https://api.github.com/repos/hadley/dplyr/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/hadley/dplyr/merges", ... ``` Although it's not clear whether that's quite consistent...