get-station-code-by-names
Retrieve station codes for specific Chinese train station names to prepare parameters for API requests. Input station names like "Beijing South" or "Shanghai Hongqiao" to get corresponding codes.
Instructions
通过具体的中文车站名查询其 station_code
和车站名。此接口主要用于在用户提供具体车站名作为出发地或到达地时,为接口准备 station_code
参数。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
stationNames | Yes | 具体的中文车站名称,例如:"北京南", "上海虹桥"。若要查询多个站点,请用|分割,比如"北京南|上海虹桥"。 |