闪烁家庭安全摄像头系统的python api

blink-cameras的Python项目详细描述


image

闪烁

用于Blink Home Security Camera系统的Python API

这是基于文档:https://github.com/MattTW/BlinkMonitorProtocol

用法

importblinkb=blink.Blink()events=b.events()an_event=events[0]mp4_data=b.download_video(an_event)

这假设您有一个文件~/.blinkconfig,它如下所示:

me@somewhere.net: my_password

或者,您可以像这样初始化blink:

b = blink.Blink(email='me@somewhere.net', password='my_password')

存档视频

blink最终会删除旧的视频剪辑。如果要在本地存档视频,请运行:

$ python -m blink --archive path/to/archive_dir

通常,这将被放入cron作业中。

API

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
面向批处理的java非阻塞队列   java如何基于HttpComponent获取html内容   java为什么我的程序会显示此错误?   java spring控制器如何处理应用程序/octetstream请求?   尝试将数据插入数据库时出现java常规错误   无法在java多线程处理中维护生产者任务的顺序   java为什么JSON数据无法访问ViewPager?   java获取Maven中特定分支的SVN buildnumber   java客户端无法从服务器接收信息   java等轴测地图绘制,生成   java无法调试ProcessBuilder   java热点JVM阵列分配   在数组中存储“inputdialog”数据的java   saml Java Inflater引发DataFormatException“无效代码长度集”   从集合(爬虫、Jsoup、Java)写入文件