dialoglk-data-usage

2.0.1 • Public • Published

dialoglk-data-usage Build Status

CLI to check Dialog(Sri Lankan ISP) data usage

CLI

$ npm install --global dialoglk-data-usage
$ dialoglk-data-usage --help

  Get data usage from dialog (Sri Lankan ISP)

  dialoglk-data-usage [IMSI] [NIC] [Connection Number]

$ dialoglk-data-usage 9245438badc526e6_7c7d86e5-741d-412e-be5a-d9213956e5e0 911972300V 114117600

{ any:
   { quota: '25 GB',
     usage: '19.43 GB',
     expire_date: '2016/09/01 00:00:00' },
  night:
   { quota: '25 GB',
     usage: '19.43 GB',
     expire_date: '2016/09/01 00:00:00' } }

API

$ npm install --save dailoglk-data-usage
 
var getDataUsage = require('dialoglk-data-usage');
 
dataUsage('9245438badc526e6_7c7d86e5-741d-412e-be5a-d9213956e5e0', '911972300V', '114117600', function(error, data){
 
    console.log(data);
 
});
 

Package Sidebar

Install

npm i dialoglk-data-usage

Weekly Downloads

2

Version

2.0.1

License

MIT

Last publish

Collaborators

  • chamoda