Returns a 3-hourly forecast - Given a Postal Code.
GET {{baseUrl}}/forecast/3hourly?postal_code={{postal_code}}&country=<string>&days=<number>&units=<string>&lang=<string>&callback=<string>&key=<string>
Returns a 3-hourly forecast, where each point represents a three 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). | |
days | string | Number of days to return. Default 5. | |
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 | |
key | string | Your registered API key. |