package hello.world;
import java.lang.Exception;
import java.util.List;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.LogoBulkSyncRequest;
import org.benzinga.BZClient.models.operations.LogoBulkSyncResponse;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
LogoBulkSyncRequest req = LogoBulkSyncRequest.builder()
.searchKeys("<value>")
.fields(List.of(
"<value>"))
.build();
LogoBulkSyncResponse res = sdk.logos().bulkSync()
.request(req)
.call();
if (res.bzhttpResp().isPresent()) {
// handle response
}
}
}