> ## 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">Class</Badge>

<Badge color="gray">기반 클래스: object</Badge>

사용량 작업을 위한 클라이언트

## 생성자

### `__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` - 응답 데이터
