{"note":"OpenAPI conversion -- returning structured metadata","name":"amadeus-com-amadeus-airport-nearest-relevant","description":"Airport Nearest Relevant","version":"1.1.2","base_url":"https://test.api.amadeus.com/v1","endpoints":1,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Airport Nearest Relevant\n@base https://test.api.amadeus.com/v1\n@version 1.1.2\n@endpoints 1\n@toc reference-data(1)\n\n@endpoint GET /reference-data/locations/airports\n@desc Returns a list of relevant airports near to a given point.\n@required {latitude: any # latitude location to be at the center of the search circle, longitude: any # longitude location to be at the center of the search circle}\n@optional {radius: any # radius of the search in Kilometer. Can be from 0 to 500, default value is 500 Km., page[limit]: any # maximum items in one page, page[offset]: any # start index of the requested page, sort: any # defines on which attribute the sorting will be done from the best option to the worst one: * **relevance** - Score value calculated based on distance and traffic analytics * **distance** - Distance from the location to the geo-code given in API request parameters * **analytics.flights.score** - Approximate score for ranking purposes calculated based on estimated number of flights from/to airport in one reference year (last year) * **analytics.travelers.score** - Approximate score for ranking purposes calculated based on estimated number of travelers in the airport for one reference year (last year)}\n@returns(200) Successful Operation\n@errors {400: code    | title                                  ------- | -------------------------------------  477     | INVALID FORMAT 572     | INVALID OPTION 4926    | INVALID DATA RECEIVED                32171   | MANDATORY DATA MISSING}\n\n@end\n"}