REST API Documentation
This site serves as documentation for Climate Counts' Web Services. The primary
goal of this API is to provide developers direct access to the Climate Counts company-scoring
database. These RESTful XML, JSON & JSONP services enable developers to utilize
our data in applications such as mobile apps and websites, browser plugins, graphing
tools etc.
We encourage you to use your programming and creative skills to consume the data
and build apps that can take advantage of the data we provide and help in our mission
to motivate deeper awareness in consumers by highlighting the companies that take
climate change seriously and those that don't.
To help you get started, we have made our current mobile site Open Source. You can access the (HTML5/jQueryMobile) source code at https://github.com/3advance/ClimateCounts.
To find out more about Climate Counts, go to our website. We're excited to see what you come up with. If you want to explore ways we can work together using this API or you want to brainstorm ideas, do not hesitate to contact us at info@climatecounts.org.
If you plan to, or are currently using the API, please let us know.
Email us with details of your project and we'll help support and/or promote it.
|
Resource
|
Description
|
|
GET /AvailableYears
|
Returns all the years that full data is currently available for.
|
|
GET /Sectors
|
Returns all possible sectors that companies belong to.
|
|
GET /Companies
|
Returns company-specific details, to include sectors and/or brands and/or scores,
individually or by sector.
|
|
GET /Brands
|
Returns all brands and their associated company ids.
|
|
GET /Scores
|
Returns company-specific yearly scores, individually or by sector or progress.
|
|
GET /AggregateScores
|
Returns aggregated scores by sector and overall.
|
Note: Database currently includes scores for 2011 only. We hope to add earlier years
to our database shortly.
BSD License
Copyright (c) 2012, Climate Counts. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer. Redistributions in binary form must
reproduce the above copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Climate Counts nor the names of its contributors may be used
to endorse or promote products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.