Returns a daily forecast - Given a Postal Code.
GET {{baseUrl}}/forecast/daily?postal_code={{postal_code}}&country=<string>&days=<number>&units=<string>&lang=<string>&callback=<string>&key=<string>
(REQUIRED: Basic Plan or Higher) Returns a daily forecast, where each point represents one day (24hr) period. Every point has a datetime string in the format YYYY-MM-DD
. One day begins at 00:00 UTC, and ends at 23:59 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. |