> ## 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.

# تقييمات الإجماع

> consensusRatings()

[\< رجوع](/ar/sdks/languages/java#consensusratings)

<div id="overview">
  ## نظرة عامة
</div>

<div id="available-operations">
  ### العمليات المتاحة
</div>

* [get](#get) - جلب تقييمات الإجماع

<div id="get">
  ## get
</div>

جلب تقييمات الإجماع لرمز محدد

<div id="example-usage">
  ### مثال على الاستخدام
</div>

```java theme={null}
package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetConsensusRatingsV1Request;
import org.benzinga.BZClient.models.operations.GetConsensusRatingsV1Response;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetConsensusRatingsV1Request req = GetConsensusRatingsV1Request.builder()
                .build();

        GetConsensusRatingsV1Response res = sdk.consensusRatings().get()
                .request(req)
                .call();

        if (res.apiConsensusRating().isPresent()) {
            // معالجة الرد
        }
    }
}
```

<div id="parameters">
  ### المعاملات
</div>

| المعامل   | النوع                                                                                   | مطلوب                | الوصف                             |
| --------- | --------------------------------------------------------------------------------------- | -------------------- | --------------------------------- |
| `request` | [GetConsensusRatingsV1Request](../../models/operations/GetConsensusRatingsV1Request.md) | :heavy\_check\_mark: | كائن الطلب المستخدم في الاستدعاء. |

<div id="response">
  ### الاستجابة
</div>

**[GetConsensusRatingsV1Response](../../models/operations/GetConsensusRatingsV1Response.md)**

<div id="errors">
  ### الأخطاء
</div>

| نوع الخطأ                  | رمز الحالة | نوع المحتوى |
| -------------------------- | ---------- | ----------- |
| models/errors/APIException | 4XX, 5XX   | */*         |
