Skip to content

utopia-opensource/utopialib-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Utopia Ecosystem API wrapper written in Java

example class

public class Main {

    public static void main(String[] args) throws IOException {
        // sample using

        libUtp lol = new libUtp();

        lol.port = "20000";
        lol.token =  "219C91A00340B54F7AD4C1DB40E9B9E3";

        System.out.println(lol.getSystemInfo());
        //System.out.println(lol.getReleaseNotes());
    }
}

response:

{"result": {"buildAbi": "x86_64-little_endian-llp64","buildCpuArchitecture": "x86_64","build_number": "1.0.7114","currentCpuArchitecture": "x86_64","netCoreRate": 25,"networkCores": 4,"networkEnabled": true,"numberOfConnections": 15,"packetCacheSize": 977753,"uptime": "01:37:58"},"resultExtraInfo": {"elapsed": "0"}}

About

Utopia Ecosystem API wrapper written in Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.6%
  • HTML 0.4%