-
Notifications
You must be signed in to change notification settings - Fork 2
EddieRingle/ghapi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
*** DEPRECATED *** A Java wrapper for v2 of the GitHub API. To setup GHAPI, import the GitHubAPI class and do the following: 1. Create a GitHubAPI object: GitHubAPI gapi = new GitHubAPI(); 2. 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.<...>
About
A Java wrapper for the GitHub API
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published