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
34 lines (33 loc) • 1.42 kB
TypeScript
export declare const SEARCH_DATA: {
readonly section: "Search";
readonly endpoints: readonly [{
readonly path: "/Search";
readonly method: "GET";
readonly 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.";
readonly parameters: readonly [{
readonly name: "query";
readonly type: "string";
readonly required: true;
readonly description: "The search query";
}];
readonly returnType: "SearchResponse";
readonly deprecated: false;
readonly tags: readonly ["Search"];
}, {
readonly path: "/Search/BusSchedules";
readonly method: "GET";
readonly summary: "Searches the bus schedules folder on S3 for a given bus number.";
readonly parameters: readonly [{
readonly name: "query";
readonly type: "string";
readonly required: true;
readonly description: "The search query";
}];
readonly returnType: "SearchResponse";
readonly deprecated: false;
readonly tags: readonly ["Search"];
}];
readonly totalEndpoints: 2;
readonly generatedAt: "2025-07-10T01:28:59.106Z";
};
export type SEARCH_DATAType = typeof SEARCH_DATA;