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
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.0 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.0 | 0 | |
0.0.3 | 0 | |
0.0.2 | 0 | |
Package Sidebar
Install
Weekly Downloads