GatheringApi

@JvmBlocking
@JvmAsync
class GatheringApi

聚会相关 API。

Parameters

auth

认证管理器(提供 withFreshToken 包装 + re-exchange)

httpClient

配置好的 HTTP 客户端

baseUrl

API 基础 URL

Functions

Link copied to clipboard

获取聚会详情(聚会详情.md)。

Link copied to clipboard

DEPRECATED in v0.5.0 旧版使用 GatheringMonthlyParams 包装的入口,推荐直接使用展开参数版本 getMonthly。

suspend fun getMonthly(year: Int, month: Int): GatheringMonthlyResponse

获取指定月份的聚会月历(聚会月历.md)。

Link copied to clipboard

DEPRECATED in v0.5.0 旧版半对象半扁平参数的入口,推荐直接使用全扁平参数版本 getMonthlyDistance。

获取指定月份的聚会月历(按距离排序)(聚会月历距离.md)。

Link copied to clipboard

获取附近聚会列表(聚会附近.md,无查询参数)。

Link copied to clipboard

获取附近模式聚会列表(聚会附近模式.md,返回带 avatar_url/参与人数的增强元素)。

Link copied to clipboard

DEPRECATED in v0.5.0 旧版使用 GatheringRegistrationsParams 包装的入口,推荐直接使用展开参数版本 getRegistrations。

获取聚会报名列表(聚会报名列表.md)。

Link copied to clipboard

获取本年度聚会统计数据(聚会年度统计.md)。