{"files":{"SKILL.md":"---\nname: airport-nearest-relevant\ndescription: \"Airport Nearest Relevant API skill. Use when working with Airport Nearest Relevant for reference-data. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Airport Nearest Relevant\nAPI version: 1.1.2\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://test.api.amadeus.com/v1\n\n## Setup\n1. No auth setup needed\n2. GET /reference-data/locations/airports -- returns a list of relevant airports near to a given point.\n3. Explore available endpoints below\n\n## Endpoints\n1 endpoint across 1 group. See references/api-spec.lap for full details.\n\n### Reference-data\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /reference-data/locations/airports | Returns a list of relevant airports near to a given point. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all airports?\" -> GET /reference-data/locations/airports\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@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"}}