bsg-nodejs
Version:
NodeJS wrapper for the Bulk SMS Solutions API
16 lines (15 loc) • 387 B
JavaScript
/**
* Bulk SMS Solutions
* nodeJS library
*
* example of getBalance call
*
* @author Anton Zelenski zelibobla@gmail.com
* @copyright BSG HONG KONG LIMITED
*/
;
var bsg = require( 'bsg-nodejs' )( '<YOUR_ACCESS_KEY>' );
bsg.getBalance().then(
balance => console.log( "Balance request completed:", balance ),
error => console.log( "Balance request failed", error )
);