Skip to main content

하위 모듈

모듈 내용

이 모듈은 X API의 communities 엔드포인트에 대한 액세스를 제공합니다. 모든 communities-related 기능의 주요 진입점 역할을 합니다.

class xdk.communities.CommunitiesClient

커뮤니티 작업을 위한 클라이언트

매개변수

Client

__init__

매개변수

Client

get_by_id

Get Community by ID Retrieves details of a specific Community by its ID.

매개변수

Any
The ID of the Community.
List or None
default:"None"
표시할 Community 필드의 쉼표로 구분된 목록입니다.

반환값

GetByIdResponse - 응답 데이터 Search Communities Retrieves a list of Communities matching the specified search query.

매개변수

str
Query to search communities.
int or None
default:"None"
The maximum number of search results to be returned by a request.
Any or None
default:"None"
This parameter is used to get the next ‘page’ of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
Any or None
default:"None"
This parameter is used to get the next ‘page’ of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
List or None
default:"None"
표시할 Community 필드의 쉼표로 구분된 목록입니다.

반환값

IteratorSearchResponse