{"id":16559472,"url":"https://github.com/mathieusoysal/codingame-puzzles-stats-library","last_synced_at":"2026-04-20T07:02:23.547Z","repository":{"id":38377071,"uuid":"438594364","full_name":"MathieuSoysal/CodinGame-Puzzles-stats-library","owner":"MathieuSoysal","description":"Simple java library to interact with CodinGame puzzle api.","archived":false,"fork":false,"pushed_at":"2023-07-10T02:39:47.000Z","size":1091,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T22:11:37.460Z","etag":null,"topics":["codingame","codingame-library","codingame-puzzles"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MathieuSoysal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-15T10:52:25.000Z","updated_at":"2022-06-04T23:30:54.000Z","dependencies_parsed_at":"2023-02-09T09:30:33.301Z","dependency_job_id":null,"html_url":"https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-library","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuSoysal%2FCodinGame-Puzzles-stats-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuSoysal%2FCodinGame-Puzzles-stats-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuSoysal%2FCodinGame-Puzzles-stats-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuSoysal%2FCodinGame-Puzzles-stats-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathieuSoysal","download_url":"https://codeload.github.com/MathieuSoysal/CodinGame-Puzzles-stats-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241950145,"owners_count":20047591,"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":["codingame","codingame-library","codingame-puzzles"],"created_at":"2024-10-11T20:26:06.620Z","updated_at":"2026-04-20T07:02:23.505Z","avatar_url":"https://github.com/MathieuSoysal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Maven Central](https://img.shields.io/maven-central/v/io.github.mathieusoysal/codingame-puzzles-stats)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=MathieuSoysal_CodinGame-Puzzles-stats-library\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=MathieuSoysal_CodinGame-Puzzles-stats-library)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=MathieuSoysal_CodinGame-Puzzles-stats-library\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=MathieuSoysal_CodinGame-Puzzles-stats-library)\n![GitHub Actions](https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-library/workflows/Java%20CI%20with%20Maven/badge.svg)\n[![Javadoc](https://img.shields.io/badge/JavaDoc-Online-green)](https://mathieusoysal.github.io/CodinGame-Puzzles-stats-library/javadoc/)\n\n# \u003cimg src=\"https://www.svgrepo.com/show/232495/java.svg\" width=\"100\"\u003e CodinGame Puzzles stats library [![GitHub](https://img.shields.io/badge/license-GNU%20General%20Public%20License%20v3.0-green)](https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-library/blob/master/LICENSE)\n\nSimple library for interacting with CodinGame's puzzle API.\n\n## How to integrate the CodinGame-Puzzles-Stats-library into your code\n\n**Required Java version :** 17\n\n### Maven \n\nIf you have Maven, add the following to the dependencies of your `pom.xml` file:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.mathieusoysal\u003c/groupId\u003e\n  \u003cartifactId\u003ecodingame-puzzles-stats\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.5\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\u003e*See an example of a [pom.xml](https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-library/blob/d8bdf1a7f1002e387bfae0beb255638f59e3c8b9/ressources-readme/pom-exemple.xml#L20-L24) file with the CodinGame-Puzzles-stats-library*\n### Gradle\n\nIf you are using Gradle, add the following to the dependencies of your `build.gradle` file:\n\n```\n    implementation 'io.github.mathieusoysal:codingame-puzzles-stats:1.0.5'\n```\n\n## Example code for using the CodinGame-Puzzles-Stats library\n\n```java\nimport com.github.mathieusoysal.codingame_stats.puzzle.Puzzle;\nimport com.github.mathieusoysal.codingame_stats.puzzle.achievement.Achievement;\nimport com.github.mathieusoysal.codingame_stats.puzzle.topic.Topic;\nimport com.github.mathieusoysal.codingame_stats.CodinGame;\n\npublic class CodeExemple {\n\n    public static void main(String[] args) {\n        CodinGame codinGame = new CodinGame();\n\n        // Get all puzzles of CodinGame\n        List\u003cPuzzle\u003e puzzles = codinGame.getPuzzles();\n\n        // Iterate over all puzzles\n        for (Puzzle puzzle : puzzles) {\n            // Print the title of the puzzle\n            System.out.println(puzzle.getTitle());\n\n            // Print the solved count of the puzzle\n            System.out.println(puzzle.getSolvedcount());\n\n            // Print the attempt count of the puzzle\n            System.out.println(puzzle.getAttemptCount());\n\n            // Print the achievement count of the puzzle\n            System.out.println(puzzle.getAchievementCount());\n\n            // Print the xp points of the puzzle\n            System.out.println(puzzle.getXpPoints());\n\n            // Print the created date of the puzzle\n            System.out.println(puzzle.getCreatedDate());\n\n            // Print the title of the puzzle\n            System.out.println(puzzle.getTitle());\n\n            // Print the contributor of the puzzle\n            System.out.println(puzzle.getContributor());\n\n            // Print the topics of the puzzle\n            for (Topic topic : puzzle.getTopics()) {\n                System.out.println(topic.getHandle());\n                System.out.println(topic.getValue());\n            }\n\n            // Print the achievements of the puzzle\n            for (Achievement achievement : puzzle.getLinkedAchievements()) {\n                System.out.println(achievement.getTitle());\n                System.out.println(achievement.getDescription());\n                System.out.println(achievement.getPoints());\n                System.out.println(achievement.getLevel());\n            }\n\n        }\n\n    }\n}\n```\n\u003e*See more [code exemples](https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-library/blob/master/ressources-readme/CodeExemple.java)*\n## Contribution\nSuggestions and contributions are always welcome! Please discuss larger changes via an [issue](https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-library/issues) before submitting a request.\n\n## Licence\n\nThis project is released under the [GNU General Public License v3.0](https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-library/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieusoysal%2Fcodingame-puzzles-stats-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathieusoysal%2Fcodingame-puzzles-stats-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieusoysal%2Fcodingame-puzzles-stats-library/lists"}