action mon_voyage_pas_cher_get_airport { label: "Search airports by country / Search nearby airports / Search an airport" description: "This webservice is providing you the ability to retrieve a list of airports matching your search criterias.
The 3 mains search criterias are
- by country code, this will list all airports for a given country.
- by latitude/longitude with a radius in km. You can actually combine those 2 criterias, and search for example the closest airport in the USA of Vancoucer, Canada.
- The last way to use the API is by searching directly with a IATA CODE in the location parameter, this will only return one result in the array of data results" provider: mon_voyage_pas_cher method: GET path: "/airports" encoding: json input: { type: "object" properties: { countrycode: { type: "string" } language: { type: "string" } location: { type: "string" } radius: { type: "string" } top_airports: { type: "string" } } required: ["language"] additionalProperties: false } output: { type: "object" additionalProperties: true } }