(Aug-10-2017, 02:44 PM)jon333 Wrote: I'm still not sure how to parse out "statusBarSignalBars":"4". For now all I need is to debug it to the screen.The output is JSON,which is very common in web API's.
If just copy our output and assassin to variable data.
I can parse it.
>>> data['statusData']["statusBarSignalBars"] '4'You can try to get JSON with Requests,it parse JSON to a Python dictionary (same as json.load() from standard library).
import requests page = requests.get('<removed>://192.168.1.1/srv/status?') data = page.json print(data['statusData']["statusBarSignalBars"])