內容摘要
使用 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」進行篩選
[
{
"airline_code": "XX",
"name": "Example Airlines",
"links": {
"logo_square": {
"method": "GET",
"href": "https://a.travel-assets.com/air/airlines/xx_sq.svg"
}
}
}
]設備
- 國際航空運輸協會 (IATA) 飛機型號/設備代碼
- 使用
equipment_code(單數或複數)作為請求中的查詢參數進行篩選
[
{
"equipment_code": "787",
"name": "Boeing 787"
}
]