> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-143107c1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UsageClient

> X API SDK の usage.client Python モジュールのリファレンス。 X API v2 の usage エンドポイントを呼び出すためのクライアントクラスとメソッド。

## UsageClient

<Badge color="blue">クラス</Badge>

<Badge color="gray">基底: object</Badge>

usage 操作向けのクライアント

## コンストラクター

### `__init__`

#### パラメーター

<ParamField path="path.client" type="Client" />

### `get`

Get usage
Retrieves usage statistics for Posts over a specified number of days.

#### パラメーター

<ParamField path="path.days" type="int or None" default="None">
  The number of days for which you need usage for.
</ParamField>

<ParamField path="path.usage_fields" type="List or None" default="None">
  A comma separated list of Usage fields to display.
</ParamField>

#### 戻り値

`GetResponse` - Response data
