Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Open-Cloud-Services/Yivesmirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yivesmirror

A Library for using the Yivesmirror API https://yivesmirror.com/apis

Info

Java 11 is required!

How to use

Add the repository

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>

Add the dependency

<dependency>
    <groupId>com.github.Open-Cloud-Services</groupId>
    <artifactId>Yivesmirror</artifactId>
    <version>master-SNAPSHOT</version>
</dependency>

Example

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();

Releases

No releases published

Packages

No packages published

Languages