UNPKG

oyster

Version:

TFL Oyster Scraper

24 lines (17 loc) 350 B
# node-oyster ## Install `npm install oyster` ## Usage ```javascript 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