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

# Economics（経済指標）

> economics()

[\< 戻る](/ja/sdks/languages/java#economics)

<div id="overview">
  ## 概要
</div>

<div id="available-operations">
  ### 利用可能な操作
</div>

* [get](#get) - Economics データを取得

<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.GetEconomicsRequest;
import org.benzinga.BZClient.models.operations.GetEconomicsResponse;

public class Application {

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

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

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

        GetEconomicsResponse res = sdk.economics().get()
                .request(req)
                .call();

        if (res.modelsEconomicJSON().isPresent()) {
            // レスポンスを処理する
        }
    }
}
```

<div id="parameters">
  ### パラメータ
</div>

| パラメータ     | 型                                                                     | 必須                   | 説明                     |
| --------- | --------------------------------------------------------------------- | -------------------- | ---------------------- |
| `request` | [GetEconomicsRequest](../../models/operations/GetEconomicsRequest.md) | :heavy\_check\_mark: | リクエストで使用するリクエストオブジェクト。 |

<div id="response">
  ### レスポンス
</div>

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

<div id="errors">
  ### エラー
</div>

| エラータイプ                     | ステータスコード | Content-Type |
| -------------------------- | -------- | ------------ |
| models/errors/APIException | 4XX, 5XX | */*          |
