Python API for the Blink Home Security Camera System
Project description
Blink
Python API for the Blink Home Security Camera System
This is based off the documentation at: https://github.com/MattTW/BlinkMonitorProtocol
Usage
import blink
b = blink.Blink()
events = b.events()
an_event = events[0]
mp4_data = b.download_video(an_event)
This assumes you have a file ~/.blinkconfig that looks like this:
me@somewhere.net: my_password
Alternatively, you can init Blink like so:
b = blink.Blink(email='me@somewhere.net', password='my_password')
Archiving Video
Blink eventually deletes old video clips. If you want to archive your videos locally, run:
$ python -m blink --archive path/to/archive_dir
Typically this would be put into a cron job.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blink-0.1.1.tar.gz
(3.4 kB
view hashes)