Documentation Index
Fetch the complete documentation index at: https://benzinga-2-locadex-parallel-main.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
< رجوع
يُرجِع بيانات الإرشاد
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetGuidanceRequest;
import org.benzinga.BZClient.models.operations.GetGuidanceResponse;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetGuidanceRequest req = GetGuidanceRequest.builder()
.build();
GetGuidanceResponse res = sdk.guidance().get()
.request(req)
.call();
if (res.modelsGuidanceJSON().isPresent()) {
// معالجة الاستجابة
}
}
}
| المعلمة | النوع | مطلوب | الوصف |
|---|
request | GetGuidanceRequest | :heavy_check_mark: | كائن الطلب المستخدم لتنفيذ الطلب. |
GetGuidanceResponse
| نوع الخطأ | رمز الحالة | نوع المحتوى |
|---|
| models/errors/APIException | 4XX, 5XX | / |