Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
news()
package hello.world; import java.lang.Exception; import org.benzinga.BZClient.Bzclient; import org.benzinga.BZClient.models.operations.GetNewsRequest; import org.benzinga.BZClient.models.operations.GetNewsResponse; public class Application { public static void main(String[] args) throws Exception { Bzclient sdk = Bzclient.builder() .apiKeyAuth("<TU_CLAVE_API_AQUÍ>") .build(); GetNewsRequest req = GetNewsRequest.builder() .build(); GetNewsResponse res = sdk.news().get() .request(req) .call(); if (res.twoHundredApplicationJsonApiNewsItems().isPresent()) { // handle response } } }
request
package hello.world; import java.lang.Exception; import org.benzinga.BZClient.Bzclient; import org.benzinga.BZClient.models.operations.GetRemovedNewsResponse; public class Application { public static void main(String[] args) throws Exception { Bzclient sdk = Bzclient.builder() .apiKeyAuth("<YOUR_API_KEY_HERE>") .build(); GetRemovedNewsResponse res = sdk.news().getRemoved() .updatedSince("<value>") .pageSize(948405L) .page(766235L) .call(); if (res.twoHundredApplicationJsonApiNewsRemovedItems().isPresent()) { // manejar la respuesta } } }
updatedSince
pageSize
page
Was this page helpful?