Skip navigation links

Package com.jcabi.github

Object Oriented Github API.

See: Description

Package com.jcabi.github Description

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: dc9cd4b795957b8030bc4840543e7a9fb04e9184 $
Author:
Yegor Bugayenko (yegor@tpc2.com)
See Also:
project website
Skip navigation links

Copyright © 2012–2018 jcabi.com. All rights reserved.