Merge pull request #280 from fronzbot/add-user-endpoint

Add new endpoint to get user info
This commit is contained in:
Kevin Fronczak
2020-05-30 13:15:16 -04:00
committed by GitHub
+6
View File
@@ -60,6 +60,12 @@ def request_networks(blink):
return http_get(blink, url)
def request_user(blink):
"""Get user information from blink servers."""
url = f"{blink.urls.base_url}/user"
return http_get(blink, url)
def request_network_status(blink, network):
"""
Request network information.