Guest User

Untitled

a guest
Dec 14th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. from blinkpy import blinkpy
  2.  
  3. blink = blinkpy.Blink(username='your@email.tld', password='pass')
  4. blink.start()
  5.  
  6. camera = blink.cameras['your_camera_name']
  7. blink.refresh()
  8. camera.video_from_cache.raw
  9. camera.video_to_file('/tmp/snap.mp4')
Add Comment
Please, Sign In to add comment