1.0.3 • Published 7 years ago

node-tw v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Node TrueWallet

This module provides an easy to use API for using with TrueWallet.

Quick Start

Installing
npm install node-tw --save
Creating new instance
const TrueWallet = require('node-tw')
const tw = new TrueWallet({
    email: 'email@example.com',
    password: 'example'
})
Logging in
tw.login()
Getting transactions history
tw.history()
    .then(console.log) // prints all transactions to the console
Getting transaction details
transaction.details()
    .then(console.log) // prints details to the console
Polling
tw.startPolling()
tw.on('transaction', doSomething) // Do something with the transaction
Examples

This project is not affiliated in any way with True Corp.

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago