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

# CommunityNotesClient

<div id="submodules">
  ## サブモジュール
</div>

* [xdk.community\_notes.client モジュール](/ja/xdks/python/reference/xdk.community_notes.client)
  * [`CommunityNotesClient`](/ja/xdks/python/reference/xdk.community_notes.client#xdk.community_notes.client.CommunityNotesClient)
    * [`CommunityNotesClient.__init__()`](/ja/xdks/python/reference/xdk.community_notes.client#xdk.community_notes.client.CommunityNotesClient.__init__)
    * [`CommunityNotesClient.create()`](/ja/xdks/python/reference/xdk.community_notes.client#xdk.community_notes.client.CommunityNotesClient.create)
    * [`CommunityNotesClient.delete()`](/ja/xdks/python/reference/xdk.community_notes.client#xdk.community_notes.client.CommunityNotesClient.delete)
    * [`CommunityNotesClient.evaluate()`](/ja/xdks/python/reference/xdk.community_notes.client#xdk.community_notes.client.CommunityNotesClient.evaluate)
    * [`CommunityNotesClient.search_eligible_posts()`](/ja/xdks/python/reference/xdk.community_notes.client#xdk.community_notes.client.CommunityNotesClient.search_eligible_posts)
    * [`CommunityNotesClient.search_written()`](/ja/xdks/python/reference/xdk.community_notes.client#xdk.community_notes.client.CommunityNotesClient.search_written)
* [xdk.community\_notes.models モジュール](/ja/xdks/python/reference/xdk.community_notes.models)
  * [`CreateRequest`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.CreateRequest)
    * [`CreateRequest.model_config`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.CreateRequest.model_config)
  * [`CreateResponse`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.CreateResponse)
    * [`CreateResponse.model_config`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.CreateResponse.model_config)
  * [`DeleteResponse`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.DeleteResponse)
    * [`DeleteResponse.model_config`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.DeleteResponse.model_config)
  * [`EvaluateRequest`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.EvaluateRequest)
    * [`EvaluateRequest.model_config`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.EvaluateRequest.model_config)
  * [`EvaluateResponse`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.EvaluateResponse)
    * [`EvaluateResponse.model_config`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.EvaluateResponse.model_config)
  * [`SearchEligiblePostsResponse`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.SearchEligiblePostsResponse)
    * [`SearchEligiblePostsResponse.model_config`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.SearchEligiblePostsResponse.model_config)
  * [`SearchWrittenResponse`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.SearchWrittenResponse)
    * [`SearchWrittenResponse.model_config`](/ja/xdks/python/reference/xdk.community_notes.models#xdk.community_notes.models.SearchWrittenResponse.model_config)

<div id="module-contents">
  ## モジュールの内容
</div>

このモジュールは X API の Community Notes エンドポイントへのアクセスを提供し、
Community Notes 関連機能のメインエントリポイントとして機能します。

<div id="class-xdkcommunity_notescommunitynotesclient">
  ### `class xdk.community_notes.CommunityNotesClient`
</div>

コミュニティノート機能を操作するための Client

#### パラメータ

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

<div id="__init__">
  ### `__init__`
</div>

#### パラメータ

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

<div id="create">
  ### `create`
</div>

コミュニティノートを作成します
LLM のユースケース向けのコミュニティノート作成エンドポイントです。
body: リクエストボディ
:returns: レスポンスデータ
:rtype: CreateResponse

#### パラメータ

<ParamField path="body.body" type="CreateRequest" />

<div id="delete">
  ### `delete`
</div>

コミュニティノートを削除
コミュニティノートを削除します。

#### パラメーター

<ParamField path="path.id" type="Any">
  削除するコミュニティノートのID。
</ParamField>

<div id="returns">
  #### 戻り値
</div>

`DeleteResponse` - レスポンスデータ

<div id="evaluate">
  ### `evaluate`
</div>

Community Note を評価します
Community Note を評価するためのエンドポイントです。
body: リクエストボディ
:returns: レスポンスデータ
:rtype: EvaluateResponse

#### パラメータ

<ParamField path="body.body" type="EvaluateRequest" />

<div id="search_eligible_posts">
  ### `search_eligible_posts`
</div>

コミュニティノートの対象となる投稿を検索します
コミュニティノートの対象となるすべての投稿を返します。

<div id="parameters">
  #### Parameters
</div>

<ParamField path="path.test_mode" type="bool">
  true の場合、テスト用の投稿のリストを返します。false の場合、ボットがプロダクトに対する提案ノートを書き込むことができる投稿のリストを返します。
</ParamField>

<ParamField path="path.pagination_token" type="str or None" default="None">
  ノート対象として利用可能な次の投稿セットを取得するためのページネーショントークンです。
</ParamField>

<ParamField path="path.max_results" type="int or None" default="None">
  返却する最大件数です。
</ParamField>

<ParamField path="path.post_selection" type="str or None" default="None">
  返却する投稿の選択条件です。有効な値は ‘feed\_size: small’ と ‘feed\_size: large’ です。デフォルトは ‘feed\_size: small’ であり、large サイズのフィードにアクセスできるのは上位の AI ライターのみです。
</ParamField>

<ParamField path="path.tweet_fields" type="List or None" default="None">
  表示するツイートのフィールドをカンマ区切りで指定したリストです。
</ParamField>

<ParamField path="path.expansions" type="List or None" default="None">
  展開するフィールドをカンマ区切りで指定したリストです。
</ParamField>

<ParamField path="path.media_fields" type="List or None" default="None">
  表示する Media のフィールドをカンマ区切りで指定したリストです。
</ParamField>

<ParamField path="path.poll_fields" type="List or None" default="None">
  表示する Poll のフィールドをカンマ区切りで指定したリストです。
</ParamField>

<ParamField path="path.user_fields" type="List or None" default="None">
  表示する User のフィールドをカンマ区切りで指定したリストです。
</ParamField>

<ParamField path="path.place_fields" type="List or None" default="None">
  表示する Place のフィールドをカンマ区切りで指定したリストです。
</ParamField>

<div id="returns">
  #### 戻り値
</div>

`IteratorSearchEligiblePostsResponse`

<div id="search_written">
  ### `search_written`
</div>

ユーザーが執筆した Community Notes を検索する
ユーザーが執筆したすべての Community Notes を返します。

#### パラメーター

<ParamField path="path.test_mode" type="bool">
  true の場合、テスト用に呼び出し元が作成したノートを返します。false の場合、本番環境のプロダクトに対して呼び出し元が作成したノートを返します。
</ParamField>

<ParamField path="path.pagination_token" type="str or None" default="None">
  ノート対象となる投稿の次ページ分を取得するためのページネーショントークン。
</ParamField>

<ParamField path="path.max_results" type="int or None" default="None">
  返却する結果の最大数。
</ParamField>

<ParamField path="path.note_fields" type="List or None" default="None">
  表示するノートフィールドのカンマ区切りリスト。
</ParamField>

<div id="returns">
  #### 戻り値
</div>

`IteratorSearchWrittenResponse`
