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

https://github.com/codacy/codacy-api-java

Java wrapper for the Codacy API
https://github.com/codacy/codacy-api-java

Last synced: 11 months ago
JSON representation

Java wrapper for the Codacy API

Awesome Lists containing this project

README

          

# Codacy API wrapper

[![Build Status](https://circleci.com/gh/codacy/codacy-api-java.png?style=shield&circle-token=:circle-token)](https://circleci.com/gh/codacy/codacy-api-java)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/dc74ba1c0eaa44febf03cac01cbb8065)](https://www.codacy.com/gh/codacy/codacy-api-java?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-api-java&utm_campaign=Badge_Grade)
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/dc74ba1c0eaa44febf03cac01cbb8065)](https://www.codacy.com/gh/codacy/codacy-api-java?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-api-java&utm_campaign=Badge_Coverage)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.codacy/codacy-api-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.codacy/codacy-api-java)

Java wrapper for the Codacy API.

### Usage

If you use Maven you can declare the dependency:

```

    com.codacy
    codacy-api-java
    VERSION

```

Example usage:

```
CodacyClient client = new CodacyClient(apiToken);
CommitService service = new CommitService(client);

Commit commit = service.getCommit(username, projectName, commitUUID);
```

The API Token can be found under your [account settings](https://www.codacy.com/account/apiTokens).

## What is Codacy?

[Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.

### Among Codacy’s features:

- Identify new Static Analysis issues
- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)
- Auto-comments on Commits and Pull Requests
- Integrations with Slack, HipChat, Jira, YouTrack
- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories

Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.

Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.

### Free for Open Source

Codacy is free for Open Source projects.