lewis-crawler/companion_software/images/get_endpoint.py

7 lines
194 B
Python

import json
import robot_util
url = '%s/v1/get_endpoint/jsmpeg_video_capture/%s' % ('https://api.robotstreamer.com', '4618')
response = robot_util.getWithRetry(url)
print(json.loads(response))