Returns a 48 hour (hourly) forecast - Given a Postal Code.
GET {{baseUrl}}/forecast/hourly?postal_code={{postal_code}}&country=<string>&units=<string>&lang=<string>&callback=<string>&hours=<integer>&key=<string>
(REQUIRED: Developer Plan or Higher) Returns an hourly forecast, where each point represents a one hour period. Every point has a datetime string in the format YYYY-MM-DD:HH
. Time is UTC.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
postal_code | string | ||
country | string | Country Code (2 letter). | |
units | string | Convert to units. Default Metric See <a target='blank' href='/api/requests'>units field description</a> | |
lang | string | Language (Default: English) See <a target='blank' href='/api/requests'>language field description</a> | |
callback | string | Wraps return in jsonp callback. Example: callback=func | |
hours | string | Number of hours to return. | |
key | string | Your registered API key. |