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

# GeneralClient

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

## GeneralClient

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

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

Client para operações gerais

## Construtores

### `__init__`

#### Parâmetros

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

### `get_open_api_spec`

Get OpenAPI Spec.
Retrieves the full OpenAPI Specification in JSON format. (See [https://github.com/OAI/OpenAPI-Specification/blob/master/README.md](https://github.com/OAI/OpenAPI-Specification/blob/master/README.md))
:returns: Response data
:rtype: GetOpenApiSpecResponse

#### Retorna

`GetOpenApiSpecResponse`
