Comments (1)
Hey, you can find the list of parameters in the API-reference documentation (here for Airport & City Search)
In the API reference, you can use the model to know what are the parameters returned and which ones are optional or required (thanks to the red *):
You can access it at the end of the page using the Models drop-down menu as well. Everything looks "optional" for this API, I will ask the API dev team to check the specification to see if there is something wrong. But you can have the case where the API cannot find the city and will return an empty data array with a 200 status code.
Depending on the technical stack you will use, we have a couple of tutorials explaining how to use this API as auto-complete:
- Airport & City Search MERN stack
- Airport & City Search with Django + JQuery
- Airport autocomplete using jQuery, Ajax, and the Amadeus Node SDK
Don't hesitate to join our Discord if you have other questions not linked to the SDK.
Hope it helps,
Anthony
from amadeus-node.
Related Issues (20)
- remove Trip Parser V2
- add support for Airport Routes API HOT 1
- Add support of City Search API V1.0
- Add Support of Airline Routes V1.0
- Add support of Travel Restrictions V2
- Shortcut links to a 404 page
- how I can get all the necessary information? HOT 3
- Flight inspiration search 404 HOT 2
- SonarCloud failed from fork repository HOT 1
- SDK Reference doc link seems to be broken
- update actions to Node 16 or above
- Fix comparisons for true/false or numbers
- 701 Wrong authentication credentials Issue HOT 4
- Doc deployment to be in publish.yml
- Amadeus Get Request Improper Promise Handling HOT 3
- Is there a way to sort the results of pois endpoint by rank HOT 1
- requesting localization HOT 1
- New Transfer APIs to be added
- Not possbile to call locations.hotels.byCity.get HOT 2
- Flight Inspiration Endpoint not supporting BER and FCO as origin on production HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amadeus-node.