python-co2-emission
Preparation
Get your own free API key from CO2Signal site.
Prepare configuration:
cp config-example.json config.json
and replace <YOUR-TOKEN>
in config.json
with token received from CO2Signal.
Running
Build sample:
cd python/co2-emission
npm run build
si seq deploy dist -f config.json
Preview
To see the output, run in terminal:
si inst output -
Check out the source on GitHub