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()) {
            // レスポンスを処理する
        }
    }
}

パラメータ

パラメータ必須説明
pageOptional<Long>:heavy_minus_sign:ページ番号
pagesizeOptional<Long>:heavy_minus_sign:1ページあたりの件数

レスポンス

GetAnalystReportsRawTextDataResponse

エラー

エラー種別ステータスコードContent-Type
models/errors/APIException4XX, 5XX/