GatheringApi

class GatheringApi(httpClient: <Error class: unknown class>, baseUrl: String = "https://open-global.vdsentnet.com")

聚会相关 API 提供聚会列表、统计、详情、报名等聚会相关功能的访问接口

Parameters

httpClient

配置好的 HTTP 客户端

baseUrl

API 基础 URL,默认为 https://open-global.vdsentnet.com

Constructors

Link copied to clipboard
constructor(httpClient: <Error class: unknown class>, baseUrl: String = "https://open-global.vdsentnet.com")

Functions

Link copied to clipboard

获取聚会详情 获取聚会的详细信息,包括议程、标签、报名统计等 端点:GET /api/proxy/furtv/gatherings/:id 官方文档:https://vdsentnet.com/docs/api/gatherings#detail

Link copied to clipboard

获取聚会月历(参数对象版本) 获取指定年月的聚会列表 端点:GET /api/proxy/furtv/gatherings/monthly 官方文档:https://vdsentnet.com/docs/api/gatherings#monthly

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

获取聚会月历 获取指定年月的聚会列表 端点:GET /api/proxy/furtv/gatherings/monthly 官方文档:https://vdsentnet.com/docs/api/gatherings#monthly

Link copied to clipboard

获取聚会月历距离(参数对象版本) 获取指定年月的聚会列表,并计算与指定位置的距离 端点:GET /api/proxy/furtv/gatherings/monthlydistance 官方文档:https://vdsentnet.com/docs/api/gatherings#monthly-distance

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

获取聚会月历距离 获取指定年月的聚会列表,并计算与指定位置的距离 端点:GET /api/proxy/furtv/gatherings/monthlydistance 官方文档:https://vdsentnet.com/docs/api/gatherings#monthly-distance

Link copied to clipboard

获取聚会附近(参数对象版本) 根据地理位置获取附近的聚会 端点:GET /api/proxy/furtv/gatherings/nearby 官方文档:https://vdsentnet.com/docs/api/gatherings#nearby

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

获取聚会附近 根据地理位置获取附近的聚会 端点:GET /api/proxy/furtv/gatherings/nearby 官方文档:https://vdsentnet.com/docs/api/gatherings#nearby

Link copied to clipboard

获取聚会附近模式 获取聚会附近模式的信息 端点:GET /api/proxy/furtv/gatherings/nearbymode 官方文档:https://vdsentnet.com/docs/api/gatherings#nearby-mode

Link copied to clipboard

获取聚会报名列表(参数对象版本) 获取聚会的报名人员列表 端点:GET /api/proxy/furtv/gatherings/:id/registrations 官方文档:https://vdsentnet.com/docs/api/gatherings#registrations

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

获取聚会报名列表 获取聚会的报名人员列表 端点:GET /api/proxy/furtv/gatherings/:id/registrations 官方文档:https://vdsentnet.com/docs/api/gatherings#registrations

Link copied to clipboard

获取聚会年度统计 获取当前年度的聚会统计数据 端点:GET /api/proxy/furtv/gatherings/stats/this-year 官方文档:https://vdsentnet.com/docs/api/gatherings#year-stats