This issue is to update the API calls in the script get_html_IO.py. The script is currently not running because the calls are written as:
...inputs = requests.get('{0}/inputs'.format(url)).json()...measurements = requests.get('{0}/measurements'.format(url)).json()
And so the ['payload'] key selection is missing. The proposed modified code is:
...inputs = requests.get('{0}/inputs'.format(url)).json()['payload']...measurements = requests.get('{0}/measurements'.format(url)).json()['payload']
This issue is to update the API calls in the script
get_html_IO.py
. The script is currently not running because the calls are written as:...
inputs = requests.get('{0}/inputs'.format(url)).json()
...
measurements = requests.get('{0}/measurements'.format(url)).json()
And so the ['payload'] key selection is missing. The proposed modified code is:...
inputs = requests.get('{0}/inputs'.format(url)).json()['payload']
...
measurements = requests.get('{0}/measurements'.format(url)).json()['payload']
The branch issue487_update_gethtmlIO on my fork is ready for a pull request