为什么 Google QPX Express API 没有返回所有航空公司的结果?
Why isn't the Google QPX Express API returning results for all airlines?
我启用了对 Google QPX Express API 的访问权限,以对 Delta 的机票价格和票价 类 进行一些分析。但响应似乎只包括来自有限一组航空公司的航班。
比如下面的请求
{
"request": {
"passengers": {
"adultCount": 1
},
"slice": [
{
"origin": "JFK",
"destination": "SFO",
"date": "2015-02-15",
"maxStops": 0
}
],
"solutions": 500
}
}
只有 returns AS(阿拉斯加航空公司)、US(美国航空公司)、VX(维珍美国航空公司)、B6(捷蓝航空公司)和 UA(联合航空公司)的航班。
如果我添加 "permittedCarriers": [DL]
,则会得到空响应。同样,如果我省略 permittedCarriers
并查找达美枢纽(例如 "origin": "ATL", "destination": "MSP"
)之间的航班,我会得到一个空响应。
The documentation表示QPX Express应该有大部分机票。我的请求有问题吗?为什么我看不到 Delta 的任何结果?
我收到了 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 QPX Express API 的访问权限,以对 Delta 的机票价格和票价 类 进行一些分析。但响应似乎只包括来自有限一组航空公司的航班。
比如下面的请求
{
"request": {
"passengers": {
"adultCount": 1
},
"slice": [
{
"origin": "JFK",
"destination": "SFO",
"date": "2015-02-15",
"maxStops": 0
}
],
"solutions": 500
}
}
只有 returns AS(阿拉斯加航空公司)、US(美国航空公司)、VX(维珍美国航空公司)、B6(捷蓝航空公司)和 UA(联合航空公司)的航班。
如果我添加 "permittedCarriers": [DL]
,则会得到空响应。同样,如果我省略 permittedCarriers
并查找达美枢纽(例如 "origin": "ATL", "destination": "MSP"
)之间的航班,我会得到一个空响应。
The documentation表示QPX Express应该有大部分机票。我的请求有问题吗?为什么我看不到 Delta 的任何结果?
我收到了 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.