Suzhou Metro Query API subway station train arrival timetable

Source: Internet
Author: User

Suzhou Metro query API sharing, support query the first train station remaining time, the second train station remaining time, train direction Pinyin, train First Bus, train last bus and so on.

Interface Name: Suzhou Metro query API

Interface platform: API Interface

Interface Address:http://apis.juhe.cn/szbusline/subwaystation

Supported format:json/xml

Request method:Get/post

Request Example:http://apis.juhe.cn/szbusline/subwaystation?key= The appkey&line_id=1& you applied for station_id=12&order=2

Suzhou Metro query API Call code JSON Returns an example:

{"ResultCode": "$", "Reason": "Success", "result": {"1": "01 minutes Arrive",/* The remaining time of the first train station */   "2": "07 minutes Arrive",/*   second train station remaining time * /"En_direct": "Zhongnan Jie",/* train direction Pinyin */"direct": "Zhongnan Street Direction",/  * Train direction */"start_time": "06:32",/   * Train First Bus */"end_ Time ":" 22:23 ",/    * Train last Bus */" start_end ":" 0 "}," Error_code ": 0}

Suzhou Metro query API Call code XML Returns an example:

This XML file does does appear to has any style information associated with it. The document tree is shown below.<Root><ResultCode>200</ResultCode><reason>Success</reason><result><En_direct>Mudu</En_direct><Direct>Mu du direction</Direct><Item>04 minutes to reach</Item><Item>11 minutes to reach</Item><start_time>06:34</start_time><End_time>22:59</End_time><Start_end>0</Start_end></result><Error_code>0</Error_code></Root>

Suzhou Metro Query API subway station train arrival timetable

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.