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);
});

/tfl-client/

    Package Sidebar

    Install

    npm i tfl-client

    Weekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • mastergalen