tfl-client

0.1.1 • Public • Published

TfL API client

Only supports some basic bus API calls right now

This API client is not affiliated with Transport for London in any way.

Usage

const TfL = require('tfl-client');
 
let tfl = new TfL(TFL_APP_ID, TFL_APP_SECRET);
 
tfl.bus.findBusStopByName(name).then(res => {
  console.log(res);
});

Dependencies (5)

Dev Dependencies (10)

Package Sidebar

Install

npm i tfl-client

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • mastergalen