Skip to main content
< ๋’ค๋กœ

๊ฐœ์š”

์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ž‘์—…

  • get - Bulls Say Bears Say V1 ๊ฐ€์ ธ์˜ค๊ธฐ

๊ฐ€์ ธ์˜ค๊ธฐ

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()) {
            // ์‘๋‹ต ์ฒ˜๋ฆฌ
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsOptional<String>:heavy_minus_sign:์‹ฌ๋ณผ ๋ชฉ๋ก(์ฝค๋งˆ๋กœ ๊ตฌ๋ถ„)

์‘๋‹ต

GetBullsSayBearsSayV1Response

์˜ค๋ฅ˜

์˜ค๋ฅ˜ ์œ ํ˜•์ƒํƒœ ์ฝ”๋“œ์ฝ˜ํ…์ธ  ์œ ํ˜•
models/errors/ApiErrorResponse400, 500application/json
models/errors/APIException4XX, 5XX/