Overview
Available Operations
- get - Get earning ratios V2.1
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
earningRatios()
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetEarningRatiosV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetEarningRatiosV21Response res = sdk.earningRatios().get()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// handle response
}
}
}
| Parameter | Type | Required | Description |
|---|---|---|---|
symbols | Optional<String> | :heavy_minus_sign: | Comma separated list of symbols |
asOf | Optional<String> | :heavy_minus_sign: | As of date |
period | Optional<String> | :heavy_minus_sign: | Period |
reportType | Optional<String> | :heavy_minus_sign: | Report Type |
| Error Type | Status Code | Content Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | */* |
Was this page helpful?