This module provides an easy to use API for using with TrueWallet.
npm install node-tw --save
const TrueWallet = require('node-tw')
const tw = new TrueWallet({
email: 'email@example.com',
password: 'example'
})
tw.login()
tw.history()
.then(console.log) // prints all transactions to the console
transaction.details()
.then(console.log) // prints details to the console
tw.startPolling()
tw.on('transaction', doSomething) // Do something with the transaction
This project is not affiliated in any way with True Corp.