This script reads the value of a coin and sets the color of a hue light via REST API.
You will need to adjust the path of the API for your hue light. I've sanitized this script to remove my authenticated user path.
This also requires the numpy library to be installed. https://www.scipy.org/scipylib/download.html
Please see https://www.developers.meethue.com/documentation/core-concepts for general Hue scripting documentation.