client.communityNotes() (CommunityNotesClient).
Methods
create
POST /2/notes
Create a Community Note
Creates a Community Note on a Post. With test_mode set to true, the note is only for testing and is not publicly visible.
Parameters
Returns:Schemas.CreateCommunityNotesResponse
delete
DELETE /2/notes/{id}
Delete a Community Note
Deletes a community note.
Parameters
Returns:Schemas.DeleteCommunityNotesResponse
evaluate
POST /2/notes/evaluate
Evaluate a Community Note
Evaluates the text of a proposed Community Note on a Post and returns its claim-opinion score.
Parameters
Returns:Schemas.EvaluateCommunityNotesResponse
searchEligiblePosts
GET /2/notes/search/posts_eligible_for_notes Paginated
Search for Posts Eligible for Community Notes
Retrieves Posts that are eligible for Community Notes.
Parameters
Returns:Schemas.SearchEligiblePostsResponse (use searchEligiblePostsPages(...) for automatic Paginator<...> iteration)
searchWritten
GET /2/notes/search/notes_written Paginated
Search for Community Notes Written
Retrieves the Community Notes written by the authenticated user.
Parameters
Returns:Schemas.SearchCommunityNotesWrittenResponse (use searchWrittenPages(...) for automatic Paginator<...> iteration)