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/