Documentation Index
Fetch the complete documentation index at: https://docs.benzinga.com/llms.txt
Use this file to discover all available pages before exploring further.
< VOLVER
- get - Obtener previsiones
Devuelve los datos de guidance
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetGuidanceRequest;
import org.benzinga.BZClient.models.operations.GetGuidanceResponse;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetGuidanceRequest req = GetGuidanceRequest.builder()
.build();
GetGuidanceResponse res = sdk.guidance().get()
.request(req)
.call();
if (res.modelsGuidanceJSON().isPresent()) {
// manejar la respuesta
}
}
}
| Parámetro | Tipo | Obligatorio | Descripción |
|---|
request | GetGuidanceRequest | :heavy_check_mark: | El objeto de solicitud que se utilizará en la solicitud. |
GetGuidanceResponse
| Tipo de error | Código de estado HTTP | Tipo de contenido |
|---|
| models/errors/APIException | 4XX, 5XX | / |