UNPKG

tfl-ts

Version:

🚇 Fully-typed TypeScript client for Transport for London (TfL) API • Zero dependencies • Auto-generated types • Real-time arrivals • Journey planning • Universal compatibility

49 lines (48 loc) • 1.6 kB
"use strict"; // Auto-generated from TfL Swagger API // Generated at: 2025-07-10T01:28:59.106Z Object.defineProperty(exports, "__esModule", { value: true }); exports.SEARCH_DATA = void 0; exports.SEARCH_DATA = { "section": "Search", "endpoints": [ { "path": "/Search", "method": "GET", "summary": "Search the site for occurrences of the query string. The maximum number of results returned is equal to the maximum page size\r\n of 100. To return subsequent pages, use the paginated overload.", "parameters": [ { "name": "query", "type": "string", "required": true, "description": "The search query" } ], "returnType": "SearchResponse", "deprecated": false, "tags": [ "Search" ] }, { "path": "/Search/BusSchedules", "method": "GET", "summary": "Searches the bus schedules folder on S3 for a given bus number.", "parameters": [ { "name": "query", "type": "string", "required": true, "description": "The search query" } ], "returnType": "SearchResponse", "deprecated": false, "tags": [ "Search" ] } ], "totalEndpoints": 2, "generatedAt": "2025-07-10T01:28:59.106Z" };