Submódulos
Contenido del módulo
This module provides access to the communities endpoints of the X API and serves as the main entry point for all communities-related functionality.class xdk.communities.CommunitiesClient
Cliente para operaciones de communities
Parámetros
Client
__init__
Parámetros
Client
get_by_id
Get Community by ID
Retrieves details of a specific Community by its ID.
Parámetros
Any
The ID of the Community.
List or None
default:"None"
Una lista separada por comas de campos de Community a mostrar.
Devuelve
GetByIdResponse - Response data
search
Search Communities
Retrieves a list of Communities matching the specified search query.
Parámetros
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"
Una lista separada por comas de campos de Community a mostrar.
Devuelve
IteratorSearchResponse