Skip to main content
< 戻る

概要

利用可能な操作

  • get - Bulls Say Bears Say V1 を取得する

get

Bulls Say Bears Say 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.GetBullsSayBearsSayV1Response;

public class Application {

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

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

        GetBullsSayBearsSayV1Response res = sdk.bullsBearsSayBearsSay().get()
                .symbols("<value>")
                .call();

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

パラメータ

パラメータ必須説明
symbolsOptional<String>:heavy_minus_sign:シンボル(カンマ区切りのシンボルのリスト)

レスポンス

GetBullsSayBearsSayV1Response

エラー

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