Legend:
Library
Module
Module type
Parameter
Class
Class type
Carbon is a library for inquiring information about the carbon intensity of energy grids around the world. It integrates various APIs to be able to do this. Some require API keys others do not.
Carbon intensity values are measured in grams of carbon dioxide equivalent per kilowatt hour. Carbon dioxide equivalent (CO2-eq) is a unit for measuring the impact of various greenhouse gases. This makes it possible to compare say methane and CO2 for their global-warming potential.
A killowatt hour is a measurement of energy use. 1kWh is the energy used by an appliance with a 1kW power rating for one hour.
So far there are two APIs available for use:
Gb uses carbonintensity.org.uk which does not require any API key, but it only works for Great Britain.
Co2_signal uses co2signal.com which does require an API key but has many more countries available.