Skip to main content
< 뒤로

개요

사용 가능한 작업

  • get - 애널리스트 리포트 원문 텍스트 데이터 가져오기

get

애널리스트 리포트 원문 텍스트 데이터 가져오기

사용 예시

package hello.world;

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

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()) {
            // 응답 처리
        }
    }
}

매개변수

ParameterTypeRequiredDescription
pageOptional<Long>:heavy_minus_sign:페이지 번호
pagesizeOptional<Long>:heavy_minus_sign:페이지당 항목 수

응답

GetAnalystReportsRawTextDataResponse

오류

오류 유형상태 코드콘텐츠 유형
models/errors/APIException4XX, 5XX/