This is how you start communicating with Github API:
Github github = new RtGithub(oauthKey); Repo repo = github.repos().get( new Coordinates.Simple("jcabi/jcabi-github") ); Issues issues = repo.issues(); Issue issue = issues.create("issue title", "issue body"); issue.comments().post("issue comment");
It is strongly recommended to use {@link com.jcabi.http.wire.RetryWire} to avoidaccidental I/O exceptions:
Github github = new RtGithub( new RtGithub(oauthKey).entry().through(RetryWire.class) );@author Yegor Bugayenko (yegor@tpc2.com) @version $Id$ @since 0.1 @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
|
|
|
|