Package com.jcabi.github

Object Oriented Github API.

The only dependency you need is (check our latest version available at github.jcabi.com):

<depedency>
   <groupId>com.jcabi</groupId>
   <artifactId>jcabi-github</artifactId>
 </dependency>

There are some design conventions in this library, which is important to keep in mind.

Sometimes we use JsonObject as an input argument for a method (for example, in Repos), somewhere else we use Map (see Issues.iterate(Map)), in other case we use just a few plain Java types (see DeployKeys.create(String,String)), and sometimes we combine them (see Hooks). This is not a bug, it's done intentionally. The logic is simple. Class JsonObject is used when Github API is expecting a JSON object as HTTP request body. Map is used when Github API expects HTTP query parameters, and some of them are optional, and there are more than two of them. In all other situations we're using plain Java types.

Since:
0.1
Version:
$Id: 1848c8d633c38acfcdc26899c714dbdd931faab4 $
Author:
Yegor Bugayenko (yegor256@gmail.com)
See Also:
project website