作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我启用了对Google QPX Express API的访问权限,以对达美机票和票价舱位的价格进行一些分析。但回应似乎只包括来自少数航空公司的航类。
例如,以下请求
{
"request": {
"passengers": {
"adultCount": 1
},
"slice": [
{
"origin": "JFK",
"destination": "SFO",
"date": "2015-02-15",
"maxStops": 0
}
],
"solutions": 500
}
}
"permittedCarriers": [DL]
,那么我将得到一个空响应。同样,如果我忽略
permittedCarriers
并寻找Delta集线器之间的航类(例如
"origin": "ATL", "destination": "MSP"
),则会得到一个空响应。
最佳答案
我收到了Google QPX Express帮助团队的答复,内容是有关Delta的数据丢失。回应是
Delta's data, as well as American Airline's data, is not included in QPX Express search results as a default. Access to their data requires approval by those carriers.
American and Delta restrict access to their pricing and availability to companies which they approve, which are primarily organizations driving the sale of airline tickets. Unfortunately, requests for access are only being reviewed for companies that plan to use the API for commercial purposes.
关于google-api - 为什么Google QPX Express API不返回所有航空公司的结果?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28334994/
我是一名优秀的程序员,十分优秀!