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

31 lines (30 loc) • 971 B
"use strict"; // Auto-generated from TfL Swagger API // Generated at: 2025-07-10T01:28:59.104Z Object.defineProperty(exports, "__esModule", { value: true }); exports.ACCIDENTSTATS_DATA = void 0; exports.ACCIDENTSTATS_DATA = { "section": "AccidentStats", "endpoints": [ { "path": "/AccidentStats/{year}", "method": "GET", "summary": "Gets all accident details for accidents occuring in the specified year", "parameters": [ { "name": "year", "type": "number", "required": true, "description": "The year for which to filter the accidents on." } ], "returnType": "AccidentDetail[]", "deprecated": false, "tags": [ "AccidentStats" ] } ], "totalEndpoints": 1, "generatedAt": "2025-07-10T01:28:59.104Z" };