Skip to main content
< VOLVER

Descripciรณn general

Operaciones disponibles

  • get - Obtener datos de NewsQuantified
Obtener datos de NewsQuantified

Ejemplo de uso

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()) {
            // gestionar respuesta
        }
    }
}

Parรกmetros

ParรกmetroTipoObligatorioDescripciรณn
requestGetNewsquantifiedDataRequest:heavy_check_mark:El objeto de solicitud que se utilizarรก en la operaciรณn.

Respuesta

GetNewsquantifiedDataResponse

Errores

Tipo de errorCรณdigo de estadoTipo de contenido
models/errors/BzhttpResp404application/json
models/errors/APIException4XX, 5XX/