Documentation Index
Fetch the complete documentation index at: https://docs.benzinga.com/llms.txt
Use this file to discover all available pages before exploring further.
< 뒤로 가기
v2 Removed 엔드포인트에서 데이터 가져오기
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetRemovedResponse;
import org.benzinga.BZClient.models.operations.Type;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetRemovedResponse res = sdk.removed().get()
.page(700347L)
.pageSize(558834L)
.type(Type.OFFERINGS)
.updated(521235L)
.call();
if (res.modelsRmvdJSON().isPresent()) {
// 응답 처리
}
}
}
| 매개변수 | 타입 | 필수 | 설명 |
|---|
page | Optional<Long> | :heavy_minus_sign: | 페이지 번호 |
pageSize | Optional<Long> | :heavy_minus_sign: | 페이지 크기 |
type | Optional<Type> | :heavy_minus_sign: | 유형 |
updated | Optional<Long> | :heavy_minus_sign: | Unix 형식의 업데이트 시각 |
GetRemovedResponse
| 오류 유형 | 상태 코드 | 콘텐츠 유형 |
|---|
| models/errors/APIException | 4XX, 5XX | / |