Skip to main content
< VOLVER

Descripciรณn general

Operaciones disponibles

  • get - Obtener FDA
Aprobaciones de la FDA, ensayos clรญnicos y fechas PDUFA

Ejemplo de uso

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetFdaRequest;
import org.benzinga.BZClient.models.operations.GetFdaResponse;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetFdaRequest req = GetFdaRequest.builder()
                .build();

        GetFdaResponse res = sdk.fda().get()
                .request(req)
                .call();

        if (res.modelsFDAJSON().isPresent()) {
            // manejar la respuesta
        }
    }
}

Parรกmetros

ParรกmetroTipoObligatorioDescripciรณn
requestGetFdaRequest:heavy_check_mark:Objeto de solicitud que se utilizarรก en la operaciรณn.

Respuesta

GetFdaResponse

Errores

Tipo de errorCรณdigo de estado HTTPTipo de contenido
models/errors/APIException4XX, 5XX/