{"files":{"SKILL.md":"---\nname: faretrotter-travel-api\ndescription: \"Faretrotter Travel API skill. Use when working with Faretrotter Travel for places, routes. Covers 2 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Faretrotter Travel API\nAPI version: 2.0\n\n## Auth\nApiKey ApiKeyAuth in header\n\n## Base URL\nhttps://api.faretrotter.com/v2.0/{apikey}\n\n## Setup\n1. Set your API key in the appropriate header\n2. GET /places -- returns possible modes of transportation between two cities.\n3. Explore available endpoints below\n\n## Endpoints\n2 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Places\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /places | Returns possible modes of transportation between two cities. |\n\n### Routes\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /routes |  |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all places?\" -> GET /places\n- \"List all routes?\" -> GET /routes\n- \"How to authenticate?\" -> See Auth section above\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 Faretrotter Travel API\n@base https://api.faretrotter.com/v2.0/{apikey}\n@version 2.0\n@auth ApiKey ApiKeyAuth in header\n@endpoints 2\n@toc places(1), routes(1)\n\n@group places\n@endpoint GET /places\n@desc Returns possible modes of transportation between two cities.\n@returns(200) Everything worked as expected.\n@errors {400: Parameters did not match the endpoint requirements. Check that all required fields are present and spelt correctly., 401: Authentication Failed., 402: All parameters are correct but the request failed., 403: Request IP does not match IP address registered with key., 404: The endpoint doesn't exist., 429: Too many requests hit the API too quickly., 501: Server error, 502: Server error}\n\n@endgroup\n\n@group routes\n@endpoint GET /routes\n@required {origin_lat: any, origin_lng: any, destination_lat: any, destination_lng: any}\n@returns(200) Everything worked as expected.\n@errors {400: Parameters did not match the endpoint requirements. Check that all required fields are present and spelt correctly., 401: Authentication Failed., 402: All parameters are correct but the request failed., 403: Request IP does not match IP address registered with key., 404: The endpoint doesn't exist., 429: Too many requests hit the API too quickly., 501: Server error, 502: Server error}\n\n@endgroup\n\n@end\n"}}