five

Autocomplete API - City and Airport Autocomplete

收藏
Datarade2024-04-19 收录
下载链接:
https://datarade.ai/data-products/autocomplete-api-city-and-airport-autocomplete-aviation-edge
下载链接
链接失效反馈
官方服务:
资源简介:
The airports the API returns include airports that have the submitted letters anywhere in them. For example, when the letters "ist" are requested, the API returns both "Istanbul Airport" and "Bristol Airport" (among other items). The API is particularly useful for travel agency and flight booking websites, tools or apps to display the relevant airport and cities as a list for the user to choose from. The city and airport data the Autocomplete API returns include: - IATA code and name, - Country code and name, - Airport location (latitude and longitude) - Time zone 1) Example Fields of Use - Travel agency and flight booking/schedule tracking websites, tools, apps where users are expected to submit a departure or arrival city or airport - Any autocomplete feature related to cities or airports 2) Example Input Airports and cities with the letters containing "xyz" in them: GET http://aviation-edge.com/v2/public/autocomplete?key=[API_KEY]&city=xyz 3) Example Output [ { "code": "AMS", "name": "Amsterdam", "cityCode": "AMS", "cityName": "Amsterdam", "countryCode": "NL", "countryName": "Netherlands", "lat": 52.3730556, "lng": 4.8922222, "timezone": "Europe/Amsterdam", "type": "city" } ], "airports": [ { "code": "ZYA", "name": "Amsterdam Centraal Railway Station", "cityCode": "AMS", "cityName": "Amsterdam", "countryCode": "NL", "countryName": "Netherlands", "lat": 52.3730556, "lng": 4.8922222, "timezone": "Europe/Amsterdam", "type": "rail_station", "isRailRoad": 1, "isBusStation": 0 }, { "code": "AMS", "name": "Schiphol", "cityCode": "AMS", "cityName": "Amsterdam", "countryCode": "NL", "countryName": "Netherlands", "lat": 52.30907, "lng": 4.763385, "timezone": "Europe/Amsterdam", "type": "airport", "isRailRoad": 0, "isBusStation": 0 } ], "airportsByCities": }, ... ]
提供机构:
Aviation Edge
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作