{ "info": { "author": "Derek Anderson", "author_email": "public@kered.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": ".. figure:: https://cloud.githubusercontent.com/assets/2049665/24316082/58e34c7e-10b9-11e7-93fa-88ca46f13d46.png\n :alt: image\n\n image\n\nBlink\n=====\n\nPython API for the Blink Home Security Camera System\n\nThis is based off the documentation at:\nhttps://github.com/MattTW/BlinkMonitorProtocol\n\nUsage\n-----\n\n.. code:: python\n\n import blink\n b = blink.Blink()\n events = b.events()\n an_event = events[0]\n mp4_data = b.download_video(an_event)\n\nThis assumes you have a file ``~/.blinkconfig`` that looks like this:\n\n::\n\n me@somewhere.net: my_password\n\nAlternatively, you can init Blink like so:\n\n::\n\n b = blink.Blink(email='me@somewhere.net', password='my_password')\n\nArchiving Video\n---------------\n\nBlink eventually deletes old video clips. If you want to archive your\nvideos locally, run:\n\n::\n\n $ python -m blink --archive path/to/archive_dir\n\nTypically this would be put into a cron job.\n\nAPI\n---\n\n+-----------+--------------+--------------+--------+\n| Function | Description | Implemented | Works |\n+===========+==============+==============+========+\n| ``connect | Client login | yes | yes |\n| ()`` | to the Blink | | |\n| | Servers. | | |\n+-----------+--------------+--------------+--------+\n| ``network | Obtain | yes | yes |\n| s()`` | information | | |\n| | about the | | |\n| | Blink | | |\n| | networks | | |\n| | defined for | | |\n| | the logged | | |\n| | in user. | | |\n+-----------+--------------+--------------+--------+\n| ``sync_mo | Obtain | yes | yes |\n| dules(net | information | | |\n| work)`` | about the | | |\n| | Blink Sync | | |\n| | Modules on | | |\n| | the given | | |\n| | network. | | |\n+-----------+--------------+--------------+--------+\n| ``arm(net | Arm the | yes | no |\n| work)`` | given | | |\n| | network | | |\n| | (start | | |\n| | recording/re | | |\n| | porting | | |\n| | motion | | |\n| | events). | | |\n+-----------+--------------+--------------+--------+\n| ``disarm( | Disarm the | yes | no |\n| network)` | given | | |\n| ` | network | | |\n| | (stop | | |\n| | recording/re | | |\n| | porting | | |\n| | motion | | |\n| | events. | | |\n+-----------+--------------+--------------+--------+\n| ``command | Get status | yes | unknow |\n| _status() | info on the | | n |\n| `` | given | | |\n| | command. | | |\n+-----------+--------------+--------------+--------+\n| ``homescr | Return | yes | yes |\n| een()`` | information | | |\n| | displayed on | | |\n| | the home | | |\n| | screen of | | |\n| | the mobile | | |\n| | client. | | |\n+-----------+--------------+--------------+--------+\n| ``events( | Get events | yes | yes |\n| network)` | for a given | | |\n| ` | network | | |\n| | (sync | | |\n| | module). | | |\n+-----------+--------------+--------------+--------+\n| ``downloa | Get a video | yes | yes |\n| d_video(e | clip from | | |\n| vent)`` | the events | | |\n| | list. | | |\n+-----------+--------------+--------------+--------+\n| ``downloa | Get a | yes | no |\n| d_thumbna | thumbnail | | |\n| il(event) | from the | | |\n| `` | events list. | | |\n+-----------+--------------+--------------+--------+\n| ``cameras | Gets a list | yes | yes |\n| (network) | of cameras. | | |\n| `` | | | |\n+-----------+--------------+--------------+--------+\n| ``clients | Gets | yes | yes |\n| ()`` | information | | |\n| | about | | |\n| | devices that | | |\n| | have | | |\n| | connected to | | |\n| | the blink | | |\n| | service. | | |\n+-----------+--------------+--------------+--------+\n| ``regions | Gets | yes | yes |\n| ()`` | information | | |\n| | about | | |\n| | supported | | |\n| | regions. | | |\n+-----------+--------------+--------------+--------+\n| ``health( | Gets | yes | yes |\n| )`` | information | | |\n| | about system | | |\n| | health. | | |\n+-----------+--------------+--------------+--------+\n| ``capture | Captures a | no | |\n| _video(ca | new video | | |\n| mera)`` | for a | | |\n| | camera. | | |\n+-----------+--------------+--------------+--------+\n| ``capture | Captures a | no | |\n| _thumbnai | new | | |\n| l(camera) | thumbnail | | |\n| `` | for a | | |\n| | camera. | | |\n+-----------+--------------+--------------+--------+\n| ``unwatch | Gets a list | no | |\n| ed_videos | of unwatched | | |\n| ()`` | videos. | | |\n+-----------+--------------+--------------+--------+\n| ``delete( | Deletes a | no | |\n| video)`` | video. | | |\n+-----------+--------------+--------------+--------+\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/keredson/blink", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "blink", "package_url": "https://pypi.org/project/blink/", "platform": "", "project_url": "https://pypi.org/project/blink/", "project_urls": { "Homepage": "https://github.com/keredson/blink" }, "release_url": "https://pypi.org/project/blink/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Python API for the Blink Home Security Camera System", "version": "0.2.0" }, "last_serial": 2734534, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "489d1bd4be6a634dac10d1899870f253", "sha256": "2f44f155c3f964a32af1cc7f07231d10e62f6c8450ef0c73fb537827b95cc93c" }, "downloads": -1, "filename": "blink-0.0.1.tar.gz", "has_sig": false, "md5_digest": "489d1bd4be6a634dac10d1899870f253", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3180, "upload_time": "2014-06-30T14:53:01", "url": "https://files.pythonhosted.org/packages/52/ae/7b4e140788481c271b2f448dcd984bca474c9e0f4e46340fc6c0e53ef8e9/blink-0.0.1.tar.gz" } ], "0.1": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "cd8b33c71db4f65a93493b08a66748bc", "sha256": "71e59f17b58087ed4bf97c877493096d36de84928b49f59e6e3940b3480d0b58" }, "downloads": -1, "filename": "blink-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cd8b33c71db4f65a93493b08a66748bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3226, "upload_time": "2017-03-27T19:41:48", "url": "https://files.pythonhosted.org/packages/97/09/801f4ecab82a146b222e4001b0e3c37687307abd95ecbe6ed9feb1a37096/blink-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1f76a3b6e23736fb03cd743dac896d2f", "sha256": "6821c2742ef0950263b2170d63c6479ce2ce61448fac559839ff85024b5854cd" }, "downloads": -1, "filename": "blink-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1f76a3b6e23736fb03cd743dac896d2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3422, "upload_time": "2017-03-27T19:42:51", "url": "https://files.pythonhosted.org/packages/09/dc/79ea46023a69da8054dd6b7314d7a10e877f53720ff223fbf1ed41fb63da/blink-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d7f871622a100e2a701babb697324452", "sha256": "e874af084e689bb7677736a973302b099a562ddd09b3a841a0c208b5536c206e" }, "downloads": -1, "filename": "blink-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d7f871622a100e2a701babb697324452", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3419, "upload_time": "2017-03-27T19:48:33", "url": "https://files.pythonhosted.org/packages/d9/5a/3e770b8dd3acd02f1b33a308ac1cb70bf597e40101b7987a87fedcbd70d9/blink-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1399c66eaab5994818148988e25382e1", "sha256": "5d69e875fd27f85543ea2be61a16e3f1adf5f79f8a85452b84f3e5432a3c8fc7" }, "downloads": -1, "filename": "blink-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1399c66eaab5994818148988e25382e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5675, "upload_time": "2017-03-27T21:13:40", "url": "https://files.pythonhosted.org/packages/99/3b/6fa2d613d99e2f14718c2717635bb2997d36f99caea58e31bae8ca1f0760/blink-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1399c66eaab5994818148988e25382e1", "sha256": "5d69e875fd27f85543ea2be61a16e3f1adf5f79f8a85452b84f3e5432a3c8fc7" }, "downloads": -1, "filename": "blink-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1399c66eaab5994818148988e25382e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5675, "upload_time": "2017-03-27T21:13:40", "url": "https://files.pythonhosted.org/packages/99/3b/6fa2d613d99e2f14718c2717635bb2997d36f99caea58e31bae8ca1f0760/blink-0.2.0.tar.gz" } ] }