Skip to main content
< 戻る

概要

利用可能な操作

  • get - Analyst Insights V1 を取得

get

アナリストインサイト V1 を取得

使用例

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.ApiErrorResponse;
import org.benzinga.BZClient.models.operations.GetAnalystInsightsV1Request;
import org.benzinga.BZClient.models.operations.GetAnalystInsightsV1Response;

public class Application {

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

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

        GetAnalystInsightsV1Request req = GetAnalystInsightsV1Request.builder()
                .build();

        GetAnalystInsightsV1Response res = sdk.analystInsights().get()
                .request(req)
                .call();

        if (res.modelsAnalystInsightsJSON().isPresent()) {
            // レスポンスを処理
        }
    }
}

パラメータ

ParameterTypeRequiredDescription
requestGetAnalystInsightsV1Request:heavy_check_mark:このリクエストで使用するリクエストオブジェクト。

レスポンス

GetAnalystInsightsV1Response

エラー

エラータイプステータスコードContent-Type
models/errors/ApiErrorResponse400, 500application/json
models/errors/APIException4XX, 5XX/