工具 API

get_station_code_of_citys

通过中文城市名查询代表该城市的 `station_code`。此接口主要用于在用户提供**城市名**作为出发地或到达地时,为接口准备 `station_code` 参数。

其他1 积分

调用信息

工具标识
12306.get_station_code_of_citys
服务提供方
12306 火车票
平均响应
25 ms
近 7 天调用
2

输入参数

citys必填

要查询的城市,比如"北京"。若要查询多个城市,请用|分割,比如"北京|上海"。