io.github.mathieusoysal.codingame-puzzles-stats-history 1.2.0 Latest version
Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
<groupId>io.github.mathieusoysal</groupId>
<artifactId>codingame-puzzles-stats-history</artifactId>
<version>1.2.0</version>
</dependency>
Install 2/2: Run via command line
$ mvn install
About this package
Simple library for interacting with a MongoDB database containing the puzzles statistics history of CodinGame.
Required Java version : 17
Required MongoDB database
If you have Maven, add the following to the dependencies of your pom.xml
file:
<dependency>
<groupId>io.github.mathieusoysal</groupId>
<artifactId>codingame-puzzles-stats-history</artifactId>
<version>1.2.0</version>
</dependency>
See an example of a pom.xml file with the CodinGame-Puzzles-History-Library
If you are using Gradle, add the following to the dependencies of your build.gradle
file:
implementation 'io.github.mathieusoysal:codingame-puzzles-stats-history:1.2.0'
import com.github.mathieusoysal.CodinGameHistory;
public class CodeExemple {
public static void main(String[] args) {
CodinGameHistory codinGameHistory = new CodinGameHistory(mongoClient, "CodinGame-stats");
// Get all puzzles statistics of 2020/01/01
List<DatedPuzzle> puzzles = codinGameHistory.getPuzzlesOf(LocalDate.of(2020, 1, 1));
// Get all puzzles statistics between two dates
List<DatedPuzzle> puzzles = codinGameHistory.getPuzzlesBetweenTwoDate(
LocalDate.of(2020, 1, 1), LocalDate.of(2020, 1, 1));
}
}
See more code exemples
Suggestions and contributions are always welcome! Please discuss larger changes via an issue before submitting a request.
This project is released under the Apache License 2.0
Details
- MathieuSoysal
- February 06, 2022
- 4 dependencies
- Apache License 2.0
Assets
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0