package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetNewsquantifiedDataRequest;
import org.benzinga.BZClient.models.operations.GetNewsquantifiedDataResponse;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetNewsquantifiedDataRequest req = GetNewsquantifiedDataRequest.builder()
.build();
GetNewsquantifiedDataResponse res = sdk.newsquantified().get()
.request(req)
.call();
if (res.modelsNewsquantifieds().isPresent()) {
// handle response
}
}
}