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
/consumption/
//
Package Sidebar
Install
Weekly Downloads