Skip to main content

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

Was it helpful?

Didn't find information needed?

Join our Scramjet Community on Discord, where you can get help from our engineers directly.