Skip to main content
< 戻る

概要

利用可能な操作

  • getV21 - IPOs v2.1 を取得
  • get - IPOs v2 を取得

getV21

IPO のデータを返します

使用例

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIposV21Request;
import org.benzinga.BZClient.models.operations.GetIposV21Response;

public class Application {

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

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

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

        GetIposV21Response res = sdk.ipos().getV21()
                .request(req)
                .call();

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

パラメータ

パラメータ必須説明
requestGetIposV21Request:heavy_check_mark:使用するリクエストオブジェクト。

レスポンス

GetIposV21Response

エラー

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

取得

IPO データを返します

使用例

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIposV2Request;
import org.benzinga.BZClient.models.operations.GetIposV2Response;

public class Application {

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

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

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

        GetIposV2Response res = sdk.ipos().get()
                .request(req)
                .call();

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

パラメーター

パラメーター必須説明
requestGetIposV2Request:heavy_check_mark:このリクエストで使用するリクエストオブジェクト。

レスポンス

GetIposV2Response

エラー

エラータイプステータスコードコンテンツタイプ
models/errors/APIException4XX, 5XX/