This SDK is a Java library for interacting with the Neverlose Marketplace API. It allows you to interact with the API in a more convenient way.
-Dneverlose.userId=[Your User ID] -Dneverlose.secret=[Your Secret]
import cn.fluxhvh.neverlose.NeverloseSDK;
public class Main {
public static void main(String[] args) {
NeverloseSDK.setup("Your User ID", "Your Secret");
}
}import cn.fluxhvh.neverlose.requests.impl.CheckUserExistedRequest;
import cn.fluxhvh.neverlose.response.impl.CheckUserExistedResponse;
import cn.fluxhvh.neverlose.response.BaseResponse;
import java.io.IOException;
public class CheckUserExisted {
public static void main(String[] args) throws IOException {
BaseResponse response = new CheckUserExistedRequest("Margele").send();
if (response instanceof CheckUserExistedResponse) {
if (((CheckUserExistedResponse) response).isUserExists()) {
System.out.println("User exists");
} else {
System.out.println("User does not exist");
}
}
}
}-Dneverlose.debug=true
This SDK is based on the Neverlose Marketplace API and was created by Neverlose.
Made by Flux-Team with ❤️