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

> X API SDK の general Python パッケージのリファレンス。 X API v2 の general エンドポイント向けのクライアントと Pydantic モデルをまとめています。

## サブモジュール

* [xdk.general.client module](/xdks/python/reference/xdk.general.client)
  * [`GeneralClient`](/xdks/python/reference/xdk.general.client#xdk.general.client.GeneralClient)
    * [`GeneralClient.__init__()`](/xdks/python/reference/xdk.general.client#xdk.general.client.GeneralClient.__init__)
    * [`GeneralClient.get_open_api_spec()`](/xdks/python/reference/xdk.general.client#xdk.general.client.GeneralClient.get_open_api_spec)
* [xdk.general.models module](/xdks/python/reference/xdk.general.models)
  * [`GetOpenApiSpecResponse`](/xdks/python/reference/xdk.general.models#xdk.general.models.GetOpenApiSpecResponse)
    * [`GetOpenApiSpecResponse.model_config`](/xdks/python/reference/xdk.general.models#xdk.general.models.GetOpenApiSpecResponse.model_config)

## モジュールの内容

このモジュールは、X API の general エンドポイントへのアクセスを提供します
general-related のすべての機能の主要なエントリポイントとして機能します。

### `class xdk.general.GeneralClient`

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

#### パラメーター

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

### `__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`
