A Library for using the Yivesmirror API https://yivesmirror.com/apis
Java 11 is required!
You have to add this repository to add the library to your project.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Open-Cloud-Services</groupId>
<artifactId>Yivesmirror</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
Here is a little example, how you can use the library.
//create an instance
Yivesmirror yivesmirror = new Yivesmirror();
//get server softwares; select the first
ServerSoftwareName name = yivesmirror.getServerSoftwareNames().get(0);
//get versions of the server softwares; select the first; get Serversoftware
ServerSoftware software = name.getVersions().get(0).getServerSoftware();
//get a input stream / download
software.download();