2.0.1 • Published 8 years ago

dialoglk-data-usage v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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);

});
2.0.1

8 years ago

2.0.0

8 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago