amadeus烧瓶wtforms搜索自动完成建议?

发布于 2025-02-01 11:50:11 字数 125 浏览 4 评论 0原文

是否有人使用烧瓶和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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

毁虫ゝ 2025-02-08 11:50:11

为此,您必须将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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文