Descripción general
Operaciones disponibles
- get - Obtener eventos
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
events()
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetEventsRequest;
import org.benzinga.BZClient.models.operations.GetEventsResponse;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetEventsRequest req = GetEventsRequest.builder()
.build();
GetEventsResponse res = sdk.events().get()
.request(req)
.call();
if (res.modelsEventsJSON().isPresent()) {
// gestionar respuesta
}
}
}
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
request | GetEventsRequest | :heavy_check_mark: | Objeto de solicitud que se utilizará en la solicitud. |
| Tipo de error | Código de estado | Tipo de contenido |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
Was this page helpful?