consumption
v1.0.0
Published
fetch current data usage from Mitt Tele2
Downloads
11
Readme
consumption
Fetches current subscription data usage from Mitt Tele2.
usage
const consumption = require(`consumption`)
consumption({
email: `[email protected]`,
password: `vinternoll2`
})
.then(dataBuckets => console.log(JSON.stringify(dataBuckets, null, 2)))
.catch(error => console.error(error))
api
consumption(options)
options
<Object>email
<String>, requiredpassword
<String>, requiredsubscriptions
<Array>, filter subscriptions