davglass / doorbot

Ring.com Doorbell API
Other
317 stars 55 forks source link

Added snapshot methods #42

Open shnhrrsn opened 5 years ago

shnhrrsn commented 5 years ago

Usage:

ring.devices((e, devices) => {
  ring.snapshotTimestamps(devices.doorbots[0], (e, timestamps) => {
    ring.snapshot(devices.doorbots[0], (e, image) => {
      fs.writeFileSync('./snap.jpeg', image)
    })
  })
})
schmupu commented 5 years ago

Would be great to add the snapshot function into doorbot