Atmospheric CO2 API

I've added a new tool that you can use that returns atmospheric CO2.

I looked for a nice API to return the current atmospheric CO2 levels and couldn't find one, so I wrote one to share. If you go to http://cityprojections.com/php/weeklyco2.php, you will get a JSON string with the most recent weekly average, the average from this week a year ago, the average from this week a decade ago, and the historic average (1850 currently).

The first three are Mauna Loa CO2 readings and come from the NOAA and the historic one comes from NASA. An example usage is included below:


1 comment: