Major classes
The communication with rostore service instance is happening over the RoStoreClient java class:
import org.rostore.client.*;
...
final String baseUrl = "https://ro-store.net";
final String apiKey = "4e030824-08bf-4a0a-b6cb-bafa19406349";
final RoStoreClientProperties properties = new RoStoreClientProperties(baseUrl, publicKey);
final RoStoreClient roStoreClient = new RoStoreClient(properties);
This RoStoreClient class is center class to execute different requests on the remote rostore service.
Simple operations​
Once the RoStoreClient is created the following operation can be used to check the connectivity:
import org.rostore.client.*;
...
final RoStoreClient roStoreClient = new RoStoreClient(properties);
if (roStoreClient.ping()) {
// we have a responding server
}