Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blink-cameras

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blink-cameras

Python API for the Blink Home Security Camera System

  • 0.3.13
  • PyPI
  • Socket score

Maintainers
1

image

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.

API

FunctionDescriptionImplementedWorks
connect()Client login to the Blink Servers.yesyes
networks()Obtain information about the Blink networks defined for the logged in user.yesyes
sync_modules(network)Obtain information about the Blink Sync Modules on the given network.yesyes
arm(network)Arm the given network (start recording/reporting motion events).yesyes
disarm(network)Disarm the given network (stop recording/reporting motion events.yesyes
command_status()Get status info on the given command.yesunknown
homescreen()Return information displayed on the home screen of the mobile client.yesyes
events(network)Get events for a given network (sync module).yesyes
download_video_by_addressGet a video clip using its address.yesyes
download_video(event)Get a video clip from the events list.yesyes
download_thumbnail(event)Get a thumbnail from the events list.yesno
cameras(network)Gets a list of cameras.yesyes
clients()Gets information about devices that have connected to the blink service.yesyes
regions()Gets information about supported regions.yesyes
health()Gets information about system health.yesyes
capture_video(camera)Captures a new video for a camera.no
capture_thumbnail(camera)Captures a new thumbnail for a camera.no
unwatched_videos()Gets a list of unwatched videos.no
delete(video)Deletes a video.no

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc