Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.61 KB

File metadata and controls

58 lines (39 loc) · 1.61 KB

AnalystReportsRawText

(analystReportsRawText())

Overview

Available Operations

  • get - Get Analyst Reports Raw Text Data

get

Get Analyst Reports Raw Text Data

Example Usage

package hello.world;

import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetAnalystReportsRawTextDataResponse;
import java.lang.Exception;

public class Application {

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

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

        GetAnalystReportsRawTextDataResponse res = sdk.analystReportsRawText().get()
                .page(700347L)
                .pagesize(558834L)
                .call();

        if (res.modelsAnalystReportRawTexts().isPresent()) {
            // handle response
        }
    }
}

Parameters

Parameter Type Required Description
page Optional<Long> Page number
pagesize Optional<Long> Page size

Response

GetAnalystReportsRawTextDataResponse

Errors

Error Type Status Code Content Type
models/errors/APIException 4XX, 5XX */*