内容概述
使用 Rapid Flight Content API 翻译行业标准 IATA 代码
Rapid Flight API 中提供的航班信息通常使用行业标准 IATA 代码表示。使用 Rapid Flight Content API 将这些代码转换为描述性的 traveler-friendly 名称。
参考详情
机场
- 官方的 IATA 机场位置标识符,以及相关元数据,包括城市和相关的地铁代码。
- 提供本地化服务
- 在请求中使用
airport_code(s) 作为查询参数进行筛选
[
{
"airport_code": "LHR",
"name": "Heathrow Airport (LHR)",
"airport_metro_code": "LON",
"city": "London",
"country_code": "GB"
}
]航空公司
- IATA-assigned 航空公司标识符和标志
- 提供本地化服务
- 在请求中使用
airline_code(s) 作为查询参数进行筛选
[
{
"airline_code": "XX",
"name": "Example Airlines",
"links": {
"logo_square": {
"method": "GET",
"href": "https://a.travel-assets.com/air/airlines/xx_sq.svg"
}
}
}
]Equipment
- IATA 飞机类型/设备代码
- 在请求中使用
equipment_code(s) 作为查询参数进行筛选
[
{
"equipment_code": "787",
"name": "Boeing 787"
}
]