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

Package Sidebar

Install

npm i consumption

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rogerbf