TfL API Wrapper
A NodeJS wrapper for the TfL Unified API, made with TypeScript.
Read the Documentation
Installation
npm install tfl-api-wrapper
yarn add tfl-api-wrapper
Contribute
There are many ways to contribute to this repo.
Example Usage
Line
import { Line } from 'tfl-api-wrapper';
const config = {
app_key: 'API KEY HERE',
};
const line = new Line(config)
StopPoint
import { StopPoint } from 'tfl-api-wrapper';
const config = {
app_key: 'API KEY HERE',
};
const stopPoint = new StopPoint(config)
Disclaimer
This repository is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Transport for London (TfL) or it's parent organisation Greater London Authority (GLA)