The Eco Choreo returns a host of eco-conscious environmental information for a specified location based on Lattitude and Longitude inputs. Currently, this Choreo returns:
- The daily UV Index from the Environmental Protection Agency
- Toxic chemical releases of any known nearby facilities
- The area's electricity usage statistics
APICredentials are optional, but the Choreo returns Genability electicity usage data when provided:
{
"Genability": {
"AppID": "YOUR GENABILITY APP ID",
"AppKey": "YOUR GENABILITY APP KEY"
}
}
This Choreo chains one or more "Child Choreos" together. Below is a list of the Temboo Library Choreos that are called by this Choreo:
- Library.Genability.TariffData/GetMetricsForZipCode
- Library.EnviroFacts.FacilitiesSearchByZip
- Library.EnviroFacts.ToxinReleaseByFacility
- Library.Google.Geocoding.GeocodeByCoordinates
- The EPA Ultraviolet (UV) Index Forecast
The following is a partial sample of the JSON information returned by this Choreo:
[
{
"electricity.typicals": {
"industrial": {
"avgRate": "8.78",
"source": "EIA EPM for NY",
"avgMonthlyConsumption": "134310",
"avgMonthlyCost": "11795.98"
},
"residential": {
"avgRate": "18.74",
"source": "EIA EPM for NY",
"avgMonthlyConsumption": "610",
"avgMonthlyCost": "114.39"
},
"commercial": {
"avgRate": "16.31",
"source": "EIA EPM for NY",
"avgMonthlyConsumption": "6202",
"avgMonthlyCost": "1011.56"
}
}
},
{
"facilities": [
{
"facility_id": "11211DTMSL364MA",
"facility_name": "DITMAS OIL ASSOCIATES INC",
"address": "364 MASPETH AVE",
"latitude": "43.4005",
"longitude": "-73.5540",
"toxic_releases": [
{
"chemical_name": "METHYL TERT-BUTYL ETHER",
"date": "20-SEP-02"
},
{
"chemical_name": "1,2,4-TRIMETHYLBENZENE",
"date": "20-SEP-02"
},
{
"chemical_name": "N-HEXANE",
"date": "20-SEP-02"
},
{
"chemical_name": "BENZENE",
"date": "20-SEP-02"
},
{
"chemical_name": "ETHYLBENZENE",
"date": "20-SEP-02"
},
{
"chemical_name": "XYLENE (MIXED ISOMERS)",
"date": "20-SEP-02"
}
]
},
{
"facility_id": "11211MLSNS215KE",
"facility_name": "EMULSION SYSTEMS INC",
"address": "215 KENT AVE.",
"latitude": "40.4400",
"longitude": "-73.5800",
"toxic_releases": [
{
"chemical_name": "METHYL METHACRYLATE",
"date": "27-JUN-88"
},
{
"chemical_name": "CERTAIN GLYCOL ETHERS",
"date": "27-JUN-88"
},
{
"chemical_name": "DIETHANOLAMINE",
"date": "27-JUN-88"
},
{
"chemical_name": "STYRENE",
"date": "27-JUN-88"
},
{
"chemical_name": "ETHYL ACRYLATE",
"date": "27-JUN-88"
},
{
"chemical_name": "METHYL METHACRYLATE",
"date": "13-JUN-89"
}
]
},
{
"facility_id": "11211NPNDS667KE",
"facility_name": "NAP INDUSTRIES INC",
"address": "667 KENT AVE",
"latitude": "40.4207",
"longitude": "-73.5751",
"toxic_releases": [
{
"chemical_name": "METHANOL",
"date": []
},
{
"chemical_name": "METHANOL",
"date": []
},
{
"chemical_name": "METHANOL",
"date": []
}
]
},
{
"facility_id": "11211TCNPL28WYT",
"facility_name": "TECHNIPOLY MANUFACTURING INC",
"address": "28 WYTHE AVE",
"latitude": "40.4337",
"longitude": "-73.5722",
"toxic_releases": [
{
"chemical_name": "N-BUTYL ALCOHOL",
"date": "15-JUL-97"
},
{
"chemical_name": "N-BUTYL ALCOHOL",
"date": "15-JUL-97"
}
]
}
]
},
{
"uv_forecast": [
{
"zip_code": 11211,
"uv_index": 4,
"uv_alert": 0
}
]
}
]