> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UsageClient

> Referência para o módulo Python usage.client no SDK da X API. Classe do client e métodos para chamar os endpoints usage da X API v2.

## UsageClient

<Badge color="blue">Class</Badge>

<Badge color="gray">Bases: object</Badge>

Client para operações de usage

## Construtores

### `__init__`

#### Parâmetros

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

### `get`

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

#### Parâmetros

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

#### Retorna

`GetResponse` - Response data
