Skip to content

Commit

Permalink
Merge pull request #389 from fronzbot/fix-liveview-endpoint
Browse files Browse the repository at this point in the history
Updated liveview endpoint
  • Loading branch information
fronzbot authored Oct 6, 2020
2 parents a94f59e + eb1fbe9 commit 469b0c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions blinkpy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,7 @@ def request_camera_liveview(blink, network, camera_id):
:param network: Sync module network id.
:param camera_id: Camera ID of camera to request liveview from.
"""
url = (
f"{blink.urls.base_url}/api/v3/networks/{network}/cameras/{camera_id}/liveview"
)
url = f"{blink.urls.base_url}/api/v5/accounts/{blink.account_id}/networks/{network}/cameras/{camera_id}/liveview"
return http_post(blink, url)


Expand Down

0 comments on commit 469b0c2

Please sign in to comment.