Software
gh

gh

Minimalistic GitHub API client in R

232 stars
56 forks
R

The gh package provides a minimalistic R client for accessing GitHub’s REST and GraphQL APIs. It allows you to interact with GitHub programmatically from R using simple function calls.

The package converts GitHub API endpoints directly into R function calls, making it easy to query repositories, manage issues, create releases, and perform other GitHub operations. It handles authentication through Personal Access Tokens stored in the git credential store or environment variables, and automatically converts JSON responses into R objects. The straightforward syntax lets you copy API endpoints from GitHub’s documentation and paste them directly into your code with minimal modification.

Contributors#

Resources featuring gh#