Ghapi
A Java wrapper for the GitHub API
Install / Use
/learn @EddieRingle/GhapiREADME
*** DEPRECATED ***
A Java wrapper for v2 of the GitHub API.
To setup GHAPI, import the GitHubAPI class and do the following:
- Create a GitHubAPI object: GitHubAPI gapi = new GitHubAPI();
- That's it!
Authenticating in GHAPI:
When you first create the GitHubAPI object, all requests will be made
anonymously. To authenticate:
gapi.authenticate("myusername", "mypassword");
Anonymizing your request in GHAPI:
If you no longer wish to make authenticated requests, just do the
following:
gapi.goStealth();
Using GHAPI:
Accessing the API through GHAPI is done through objects instantiated
by the GitHubAPI class, each containing their own API calls. You can
access each by doing the following:
// Repository
gapi.repo.<...>
// User
gapi.user.<...>
// Issues
gapi.issues.<...>
// Commits
gapi.commits.<...>
// Object
gapi.object.<...>
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
