/node-oyster

[Module Defunct - Replaced by TFL Contactless Site] TFL Oyster Site Scraper

Primary LanguageJavaScript

node-oyster

Module defunct as the Oyster site has now been replaced by https://contactless.tfl.gov.uk/

js-standard-style

Install

npm install oyster

Usage

var Oyster = require('oyster');

var oyster = Oyster('USERNAME', 'PASSWORD', function(err) {
  if(err) throw err;
  console.log('Logged In');
  oyster.balance(function(err, balance) {
    if(err) throw err;
    console.log('Balance: ' + balance);
  });
});

Licence

MIT