码迷,mamicode.com
首页 > Windows程序 > 详细

苏州公交线路api 查询公交详细信息

时间:2015-10-27 17:16:53      阅读:344      评论:0      收藏:0      [点我收藏+]

标签:

苏州公交线路api-苏州公交状态实时跟踪,查询公交详细信息。

接口名称:苏州公交线路api

接口平台:api接口

接口地址:http://apis.juhe.cn/szbusline/bus

支持格式:JSON/XML

请求方式:GET

请求示例:http://apis.juhe.cn/szbusline/bus?key=您申请的APPKEY&bus=11

苏州公交线路api调用代码JSON返回示例:

 

{
"resultcode":"200",
"reason":"success",
"result":[
    {
        "bus":"110",                                    /*线路名称*/
        "FromTo":"星塘公交中心=>星塘公交中心",            /*线路方向*/
        "code":"792365ed-82b2-423f-bbdc-5376d1507d21"    /*线路编码,用于该线路详细信息查询*/
    },
    {
        "bus":"110",
        "FromTo":"星塘公交中心=>星塘公交中心",
        "code":"3e37f7b5-db71-4dfa-9dc1-30f5d29f43f5"
    },
    {
        "bus":"111",
        "FromTo":"星塘公交中心=>城际雅苑首末站",
        "code":"42187a87-042b-4ab7-9ab5-512c64eb72e6"
    },
    {
        "bus":"111",
        "FromTo":"城际雅苑首末站=>星塘公交中心",
        "code":"b198fe15-c948-4bcd-a587-92bf68888972"
    },
    {
        "bus":"112",
        "FromTo":"汽车北站首末站",
        "code":"e27ea6c5-1752-4cb3-99db-fa66601d8fb7"
    },
    {
        "bus":"112",
        "FromTo":"金益新村",
        "code":"d0d0c453-043e-48d7-9b18-d56308447e41"
    },
    {
        "bus":"115",
        "FromTo":"沪宁城铁园区站=>独墅湖高教区首末站",
        "code":"e31d7bb3-ba4c-4e24-85e8-95e9d0f4d49e"
    },
    {
        "bus":"115",
        "FromTo":"独墅湖高教区首末站=>沪宁城铁园区站广场",
        "code":"edc1ecd6-2bf8-4b08-8727-385bb8943b9d"
    },
    {
        "bus":"116",
        "FromTo":"沪宁城铁园区站=>胜浦首末站",
        "code":"07ad0ee1-e0b2-41c2-8ebf-b49ad1325f8b"
    },
    {
        "bus":"116",
        "FromTo":"胜浦首末站=>沪宁城铁园区站广场",
        "code":"24fce9ce-f441-45c5-99e1-bc6b40661f1e"
    },
    {
        "bus":"117",
        "FromTo":"苏胜首末站北=>沪宁城铁园区站广场",
        "code":"db65cc0e-d494-4ad0-86d2-4349bb6d6705"
    },
    {
        "bus":"118",
        "FromTo":"葑门换乘站",
        "code":"f7da65db-b859-4213-be9e-713c2d5051a1"
    },
    {
        "bus":"118",
        "FromTo":"车坊首末站",
        "code":"435a559b-c452-4b9e-8d89-49527a4df2c7"
    },
    {
        "bus":"119",
        "FromTo":"唯亭便利中心",
        "code":"c527510a-144d-4d75-bac9-67ee24e1d6ce"
    },
    {
        "bus":"311",
        "FromTo":"上-浒",
        "code":"9c69ae3e-99f9-400e-852b-5404fa097cb1"
    },
    {
        "bus":"311",
        "FromTo":"浒-上",
        "code":"814a683c-7512-47e2-ab99-a7e523b7f45b"
    },
    {
        "bus":"511",
        "FromTo":"葑门换乘站",
        "code":"328a6c52-ae29-4ecd-a796-264987b6e80b"
    },
    {
        "bus":"511",
        "FromTo":"灵岩山",
        "code":"f5c24669-546d-4eed-9c0d-c7b5dc5283a1"
    },
    {
        "bus":"711",
        "FromTo":"京沪高铁苏州北站",
        "code":"14DC3A07-2F4B-D5BD-7D9D-7496AA835565"
    },
    {
        "bus":"711",
        "FromTo":"辛庄客运站",
        "code":"C3B90F98-2799-6212-5950-9BF54ECC0976"
    },
    {
        "bus":"811",
        "FromTo":"京沪高铁苏州北站",
        "code":"D97BB61F-7ABF-4995-99EE-F4B8F670E726"
    },
    {
        "bus":"811",
        "FromTo":"宝带西路首末站",
        "code":"3EE00F3A-78D9-4841-9D7B-95A1E1483084"
    }
]
}

 

苏州公交线路api 查询公交详细信息

标签:

原文地址:http://www.cnblogs.com/kaifaapi/p/4914254.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!