{"id":17044768,"url":"https://github.com/keredson/blink","last_synced_at":"2025-07-07T15:34:06.332Z","repository":{"id":62560067,"uuid":"86105577","full_name":"keredson/blink","owner":"keredson","description":"Python API for the Blink Home Security Camera System","archived":false,"fork":false,"pushed_at":"2019-05-21T02:14:33.000Z","size":20,"stargazers_count":48,"open_issues_count":7,"forks_count":18,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-26T10:01:32.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keredson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-24T19:53:47.000Z","updated_at":"2025-02-16T09:19:33.000Z","dependencies_parsed_at":"2022-11-03T14:00:38.044Z","dependency_job_id":null,"html_url":"https://github.com/keredson/blink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Fblink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Fblink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Fblink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Fblink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keredson","download_url":"https://codeload.github.com/keredson/blink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208506,"owners_count":21065201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:35:27.934Z","updated_at":"2025-04-12T15:22:52.725Z","avatar_url":"https://github.com/keredson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://cloud.githubusercontent.com/assets/2049665/24316082/58e34c7e-10b9-11e7-93fa-88ca46f13d46.png)\n\n# Blink\nPython API for the Blink Home Security Camera System\n\nThis is based off the documentation at: https://github.com/MattTW/BlinkMonitorProtocol\n\n## Usage\n```python\nimport blink\nb = blink.Blink()\nevents = b.events()\nan_event = events[0]\nmp4_data = b.download_video(an_event)\n```\n\nThis assumes you have a file `~/.blinkconfig` that looks like this:\n```\nme@somewhere.net: my_password\n```\nAlternatively, you can init Blink like so:\n```\nb = blink.Blink(email='me@somewhere.net', password='my_password')\n```\n\n## Archiving Video\nBlink eventually deletes old video clips.  If you want to archive your videos locally, run:\n\n```\n$ python -m blink --archive path/to/archive_dir\n```\n\nTypically this would be put into a cron job.\n\n## API\n|Function|Description|Implemented|Works|\n|--------|-----------|-----------|-----|\n|`connect()`|Client login to the Blink Servers. | yes | yes | \n|`networks()`|Obtain information about the Blink networks defined for the logged in user. | yes | yes | \n|`sync_modules(network)`|Obtain information about the Blink Sync Modules on the given network. | yes | yes | \n|`arm(network)`|Arm the given network (start recording/reporting motion events). | yes | no | \n|`disarm(network)`|Disarm the given network (stop recording/reporting motion events. | yes | no | \n|`command_status()`|Get status info on the given command. | yes | unknown | \n|`homescreen()`|Return information displayed on the home screen of the mobile client. | yes | yes | \n|`events(network)`|Get events for a given network (sync module). | yes | yes | \n|`download_video(event)`|Get a video clip from the events list. | yes | yes | \n|`download_thumbnail(event)`|Get a thumbnail from the events list. | yes | no | \n|`cameras(network)`|Gets a list of cameras. | yes | yes | \n|`clients()`|Gets information about devices that have connected to the blink service. | yes | yes | \n|`regions()`|Gets information about supported regions. | yes | yes | \n|`health()`|Gets information about system health. | yes | yes | \n|`capture_video(camera)`|Captures a new video for a camera. | no |  | \n|`capture_thumbnail(camera)`|Captures a new thumbnail for a camera. | no |  | \n|`unwatched_videos()`|Gets a list of unwatched videos. | no |  | \n|`delete(video)`|Deletes a video. | no |  | \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeredson%2Fblink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeredson%2Fblink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeredson%2Fblink/lists"}