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

# GeneralClient

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

## GeneralClient

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

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

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

## コンストラクター

### `__init__`

#### パラメーター

<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: レスポンスデータ
:rtype: GetOpenApiSpecResponse

#### 戻り値

`GetOpenApiSpecResponse`
