GatheringApi

@JvmBlocking
@JvmAsync
class GatheringApi

聚会相关 API。

提供聚会列表、统计、详情、报名、附近搜索等聚会相关功能的访问接口。

Parameters

httpClient

配置好的 HTTP 客户端

baseUrl

API 基础 URL

Functions

Link copied to clipboard

获取聚会详情。

Link copied to clipboard

获取指定月份的聚会列表(参数对象版本)。

suspend fun getMonthly(year: Int, month: Int): List<GatheringMonthlyItem>

获取指定月份的聚会列表。

Link copied to clipboard

获取指定月份的聚会列表(带距离信息,参数对象版本)。

suspend fun getMonthlyDistance(year: Int, month: Int, lat: Double? = null, lng: Double? = null): List<GatheringMonthlyDistanceItem>

获取指定月份的聚会列表(带距离信息)。

Link copied to clipboard

获取附近的聚会列表(参数对象版本)。

suspend fun getNearby(lat: Double? = null, lng: Double? = null, radius: Int? = null): List<GatheringNearbyItem>

获取附近的聚会列表。

Link copied to clipboard

获取附近搜索模式的配置信息。

Link copied to clipboard

获取聚会的报名列表(参数对象版本)。

suspend fun getRegistrations(id: String, status: String? = null, cursor: String? = null, limit: Int? = null): GatheringRegistrationsData

获取聚会的报名列表。

Link copied to clipboard

获取当前年度聚会统计信息。