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
- Host: GitHub
- URL: https://github.com/alxkm/octogration
- Owner: alxkm
- License: mit
- Created: 2022-09-07T15:20:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-13T18:24:29.000Z (over 3 years ago)
- Last Synced: 2025-06-04T13:44:27.352Z (8 months ago)
- Topics: api, client-library, github, github-api, github-api-v3, java, java-api
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Octogration 
[](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