package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIposV21Request;
import org.benzinga.BZClient.models.operations.GetIposV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetIposV21Request req = GetIposV21Request.builder()
.build();
GetIposV21Response res = sdk.ipos().getV21()
.request(req)
.call();
if (res.modelsIPOJSON().isPresent()) {
// handle response
}
}
}