Skip to content
Java service for GitHub based on Retrofit (A type-safe HTTP client for Android and Java) and GitHub REST API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
src/de/pawlidi/restgithub
test/de/pawlidi/restgithub
.classpath
.gitignore
.project
CHANGELOG.md
LICENSE
README.md
pom.xml

README.md

RestGitHub is a free and flexible Java library for GitHub based on Retrofit (A type-safe HTTP client for Android and Java) and GitHub REST API.

##How To Use

Add restgithub jar file to your application classpath. The following example shows the basic usage of this library. Create new GitHub object with authentification method. In this example we use the basic method. It possible to use the access token.

Read more

//create git hub service with basic authentification method
GitHub gitHub = new GitHub("username", "password");

//get git hub user service
GitHubUserService userService = gitHub.getUserService();

// get git hub user with login name pawlidim
User user = userService.getUserForName("pawlidim");
You can’t perform that action at this time.