Expert Topic for experienced builders.
/Animations/nonestring[] animationsimport requestsimport json
port = 59224baseUrl = 'http://localhost:{}/'.format(port)
requestUrl = baseUrl + 'Animations/'try: response = requests.get(requestUrl) response.raise_for_status() responseData = response.json()
print ('Animations:') i = 0 for animationName in responseData['animations']: print('Animation {}: {}'.format(i, animationName)) i += 1
print ('------')
except requests.exceptions.RequestException as e: raise SystemExit(e)