(newsquantified())
- get - Get Newsquantified Data
Get Newsquantified Data
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.errors.BzhttpResp;
import com.benzinga.bzclient.models.operations.GetNewsquantifiedDataRequest;
import com.benzinga.bzclient.models.operations.GetNewsquantifiedDataResponse;
import java.lang.Exception;
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
}
}
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
GetNewsquantifiedDataRequest | ✔️ | The request object to use for the request. |
Error Type | Status Code | Content Type |
---|---|---|
models/errors/BzhttpResp | 404 | application/json |
models/errors/APIException | 4XX, 5XX | */* |