航班起降动态api 航班起降时间查询代码

原文链接: https://my.oschina.net/u/2473166/blog/514689

航班经停地及起降时间查询,航班起降动态api代码实现功能:本航班的航班编号、停留地数量、起飞日期(年月日)、机型、航班编号、起飞时间、起飞时间……

接口名称:航班起降动态api

接口平台:聚合数据

接口地址:http://op.juhe.cn/flight/ff

支持格式:json/xml

请求方式:HTTP GET/POST

请求示例:http://op.juhe.cn/flight/ff?key=APPKEY&flightDate=2014-12-15&flightNo=CZ3147

航班起降动态api JSON返回示例:

{
    "resultcode": "200",
    "reason": "Success",
    "result": {
        "FlightNo": "CZ3147",
        "cityNumber": "3",
        "flightDate": "2014-12-15T00:00:00",
        "planeModel": "321",
        "VIACities": {
            "VIACity": [
                {
                    "city": "BHY",
                    "fromTime": "2014-12-15T08:00:00",
                    "toTime": "1970-01-01T00:00:00"
                },
                {
                    "city": "CSX",
                    "fromTime": "2014-12-15T09:35:00",
                    "toTime": "2014-12-15T10:35:00"
                },
                {
                    "city": "PEK",
                    "fromTime": "1970-01-01T00:00:00",
                    "toTime": "2014-12-15T12:40:00"
                }
            ]
        }
    },
    "error_code": 0
}


转载于:https://my.oschina.net/u/2473166/blog/514689

你可能感兴趣的:(航班起降动态api 航班起降时间查询代码)