Returns Energy Forecast API response - Given a single lat/lon.
GET {{baseUrl}}/forecast/energy?lat={{lat}}&lon={{lon}}&threshold=<number>&units=<string>&tp=<string>&callback=<string>&key=<string>
Retrieve an 8 day forecast relevant to te Energy Sector (degree days, solar radiation, precipitation, wind).
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
lat | string | ||
lon | string | ||
threshold | string | Temperature threshold to use to calculate degree days (default 18 C) | |
units | string | Convert to units. Default Metric See <a target='blank' href='/api/requests'>units field description</a> | |
tp | string | Time period to aggregate by (daily, monthly) | |
callback | string | Wraps return in jsonp callback. Example: callback=func | |
key | string | Your registered API key. |