概要
利用可能な操作
- get - Bulls Say Bears Say V1 を取得する
get
使用例
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()) {
// レスポンスを処理する
}
}
}
パラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
symbols | Optional<String> | :heavy_minus_sign: | シンボル (カンマ区切りのシンボルのリスト) |
レスポンス
エラー
| エラータイプ | ステータスコード | Content Type |
|---|---|---|
| models/errors/ApiErrorResponse | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |