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