amadeus烧瓶wtforms搜索自动完成建议?
是否有人使用烧瓶和WTFORMS的Amadeus搜索位置自动完成? 当用户试图输入目标字段时,我无法弄清楚如何向用户显示下拉菜单中的位置。例如,如果他键入新的Yo“应该向他展示一个下拉菜单,其中包括纽约 - LGA,纽约-JFK等建议
Does anyone have an example of Amadeus search location autocomplete using flask and wtforms?
I cannot figure out how to show the locations in the drop-down menu to the user when he tries to type in the destination field. For Example, if he types 'New Yo" it should show him a drop-down menu with suggestions like New York - LGA, New York -JFK
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为此,您必须将API从自助服务中集成,以通过IATA代码获取城市名称列表, https://developers.amadeus.com/self-service/categore/category/air/api-doc/api-doc/airport-and-city-search
For this, you have to integrate the API from self-service, to fetch the list of cities and airport names by IATA Code, https://developers.amadeus.com/self-service/category/air/api-doc/airport-and-city-search