3.4.0 • Published 2 years ago

dexcom-share v3.4.0

Weekly downloads
21
License
GPL-3.0
Repository
-
Last release
2 years ago

dexcom-share

This JavaScript module provides an Async Iterator API for reading blood glucose readings from Dexcom's Share servers.

Example

const dexcom = require('dexcom-share')

async function main() {
  const iterator = dexcom({
    username: 'DEXCOM_SHARE_USERNAME',
    password: 'DEXCOM_SHARE_PASSWORD'
  })

  for await (const reading of iterator) {
    console.log(reading)
    /*
    { DT: '/Date(1515095827000-0800)/',
      ST: '/Date(1515095827000)/',
      Trend: 4,
      Value: 123,
      WT: '/Date(1515095827000)/',
      Date: 1515095827000 }
    */
  }
}

main().catch(err => {
  console.error(err)
  process.exit(1)
})
3.4.0

2 years ago

3.3.1

2 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago