跳到主要内容

查询公交到站详情

请求路径

api/v1/bst/getBusStopArriveDetails

请求参数GetBusStopArriveDetailsReq

参数类型参数名称参数含义是否必传
StringcityCode城市标示
StringlineId线路编号
StringlineName线路名称
StringstopId站点编号
StringstopName站点名称
Stringdirection0:上行,1:下行

响应参数GetBusStopArriveDetailsRes

参数类型参数名称参数含义是否必传
StopArriveInfostopArriveInfo指定站点(stopName)的车辆到站信息

StopArriveInfo结构

参数类型参数名称参数含义是否必传
StringcurrentBusDistance最近一辆车距离本站距离 eg: 1000米
StringcurrentBusArriveTime最近一辆车预计多久后到达 eg:10: 单位:分钟
StringcurrentBusComfort最近一辆车拥挤程度, eg: 0 未知 1 舒适 2较舒适 3拥挤
StringupDown上行/下行 0-上行 1-下行
StringcurrentBusStopCount最近一辆车距离当前还有几站
StringstopName到站信息
StringdispatchTime计划发车时间 在 尚未发车状态时使用,如果没有就不做展示
StringnextBusDistance下辆车距离
StringnextBusArriveTime下辆车多久后到达
StringnextBusStopCount下辆车距离当前还有几站
StringstopId站点id