consumption

1.0.0 • Public • Published

consumption

Fetches current subscription data usage from Mitt Tele2.

usage

const consumption = require(`consumption`)
 
consumption({
  email: `user@example.com`,
  password: `vinternoll2`
})
.then(dataBuckets => console.log(JSON.stringify(dataBuckets, null, 2)))
.catch(error => console.error(error))

api

consumption(options)

  • options <Object>
    • email <String>, required
    • password <String>, required
    • subscriptions <Array>, filter subscriptions

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.00
0.0.30
0.0.20

Package Sidebar

Install

npm i consumption

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rogerbf