tripcase

0.1.1 • Public • Published

tripcase Build Status

An unofficial TripCase API client.

This uses the internal TripCase mobile API which may change without notice.

Install

$ npm install --save tripcase

Usage

var TripCase = require('tripcase');
 
var tripcase = new TripCase({
  email: 'user@example.com',
  password: 'supersecret'
});
 
tripcase.login(function (err, res, body) {
  if (err) throw err;
 
  tripcase.getTrips(function (err, res, trips) {
    if (err) throw err;
    console.log('upcoming trips', trips);
  });
});

CLI

$ npm install --global tripcase
$ tripcase username password

License

MIT © madmod

Readme

Keywords

Package Sidebar

Install

npm i tripcase

Weekly Downloads

3

Version

0.1.1

License

MIT

Last publish

Collaborators

  • madmod