{"id":19359872,"url":"https://github.com/codacy/codacy-api-scala","last_synced_at":"2025-07-18T12:33:13.784Z","repository":{"id":30761740,"uuid":"34318382","full_name":"codacy/codacy-api-scala","owner":"codacy","description":"Scala wrapper for the Codacy API","archived":false,"fork":false,"pushed_at":"2025-06-16T11:28:01.000Z","size":159,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-07-10T07:40:53.848Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.codacy.com","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codacy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2015-04-21T09:46:07.000Z","updated_at":"2025-06-16T11:19:09.000Z","dependencies_parsed_at":"2023-01-14T17:37:49.660Z","dependency_job_id":null,"html_url":"https://github.com/codacy/codacy-api-scala","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/codacy/codacy-api-scala","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-api-scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-api-scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-api-scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-api-scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codacy","download_url":"https://codeload.github.com/codacy/codacy-api-scala/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-api-scala/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265760850,"owners_count":23824112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T07:16:24.884Z","updated_at":"2025-07-18T12:33:13.734Z","avatar_url":"https://github.com/codacy.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codacy API Scala Client\n\nScala wrapper for the Codacy API.\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/46749e1408d94e6fbb785201c1eb9bd8)](https://www.codacy.com/gh/codacy/codacy-api-scala?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=codacy/codacy-api-scala\u0026amp;utm_campaign=Badge_Grade)\n[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/46749e1408d94e6fbb785201c1eb9bd8)](https://www.codacy.com/gh/codacy/codacy-api-scala?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=codacy/codacy-api-scala\u0026utm_campaign=Badge_Coverage)\n[![Circle CI](https://circleci.com/gh/codacy/codacy-api-scala/tree/master.svg?style=shield)](https://circleci.com/gh/codacy/codacy-api-scala/tree/master)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.codacy/codacy-api-scala_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.codacy/codacy-api-scala_2.11)\n\n## Usage\n\nIf you use Maven you can declare the dependency:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.codacy\u003c/groupId\u003e\n    \u003cartifactId\u003ecodacy-api-java\u003c/artifactId\u003e\n    \u003cversion\u003eVERSION\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFirst, declare the dependency on SBT:\n\n```xml\n\"com.codacy\" %% \"codacy-api-scala\" % \"VERSION\"\n```\n\nUsage example (extracted from our [sbt-codacy-coverage tool](https://github.com/codacy/sbt-codacy-coverage/blob/c10e67fa6fe62992c871e9811c41603ae0a76870/src/main/scala/com/codacy/CodacyCoveragePlugin.scala#L56-L69):\n\n```xml\nval apiUrl = \"https://api.codacy.com/\"\nval projectToken = \"randomizedTokenGeneratedByCodacy\"\n\nval codacyClient = new CodacyClient(Some(apiUrl), projectToken = Some(projectToken))\n\nval coverageServices = new CoverageServices(codacyClient)\n\nval commitUUID = \"gitCommitUUID\"\nval report = ...\n\ncoverageServices.sendReport(commitUUID, Language.Scala, report) match {\n          case requestResponse if requestResponse.hasError =\u003e\n            logger.error(s\"Failed to upload data. Reason: ${requestResponse.message}\")\n            state.exit(ok = false)\n            Left(requestResponse.message)\n          case requestResponse =\u003e\n            logger.success(s\"Coverage data uploaded. ${requestResponse.message}\")\n            Right(state)\n        }\n```\n\n## Creators\n\n1. Rodrigo Fernandes\n\n## Contributors\n\n1. Rafael Cortês\n2. João Machado\n3. João Caxaria\n4. Pedro Rijo\n\n## What is Codacy\n\n[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.\n\n### Among Codacy’s features\n\n- Identify new Static Analysis issues\n- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)\n- Auto-comments on Commits and Pull Requests\n- Integrations with Slack, HipChat, Jira\n- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories\n\nCodacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.\n\nCodacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.\n\n## Free for Open Source\n\nCodacy is free for Open Source projects.\n\n## License\n\ncodacy-api-scala is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-api-scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodacy%2Fcodacy-api-scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-api-scala/lists"}