client.Spaces (SpacesClient).
Methods
GetBuyersAsync
GET /2/spaces/{id}/buyers Paginated
Get Space Ticket Buyers
Retrieves a list of Users who purchased tickets to a specific Space by its ID.
Parameters
Returns:Task<GetSpacesBuyersResponse> (use GetBuyersPages(...) for IAsyncEnumerable page iteration)
GetByCreatorIdsAsync
GET /2/spaces/by/creator_ids
Get Spaces by Creator IDs
Retrieves details of Spaces created by specified User IDs.
Parameters
Returns:Task<GetSpacesByCreatorIdsResponse>
GetByIdAsync
GET /2/spaces/{id}
Get Space by ID
Retrieves details of a specific Space by its ID.
Parameters
Returns:Task<GetSpacesByIdResponse>
GetByIdsAsync
GET /2/spaces
Get Spaces by IDs
Retrieves details of multiple Spaces by their IDs.
Parameters
Returns:Task<GetSpacesByIdsResponse>
GetPostsAsync
GET /2/spaces/{id}/tweets Paginated
Get Space Posts
Retrieves a list of Posts shared in a specific Space by its ID.
Parameters
Returns:Task<GetSpacesPostsResponse> (use GetPostsPages(...) for IAsyncEnumerable page iteration)
SearchAsync
GET /2/spaces/search
Search Spaces
Retrieves a list of Spaces matching the specified search query.
Parameters
Returns:Task<SearchSpacesResponse>