An open API service indexing awesome lists of open source software.

https://github.com/alxkm/octogration

Octogration is github integration library written on java
https://github.com/alxkm/octogration

api client-library github github-api github-api-v3 java java-api

Last synced: 7 months ago
JSON representation

Octogration is github integration library written on java

Awesome Lists containing this project

README

          

# Octogration Octogration

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Octogration is github integration java library.
It provides basic github API integration using feign-core.

It implemented api is enough to build commits analysis tool.
Or own github application, or github bot to process commit information.

Api cover next areas:
- commits
- pull requests
- commits delta
- commits file information
- contributors info
- other

### Quick start

Using is very simple like it is described in main class:

```java

try {
var githubClient = GithubClientFactory.createGithubClient();
var ctx = GithubContext.builder()
.login("login")
.password("password")
.owner("owner")
.repository("repo").build();

githubClient.getRepositoryContributors(ctx.getHeaders(), ctx.getOwnerRepository())
.forEach(s -> log.info("Contributor{{}} to repo{{}}", s.getId(), ctx.getRepository()));
} catch (Exception e) {
log.error("Error during github test call", e);
}

```

### Changelog

#### 0.0.1:
- initial release