Home >> forecast
Returns the 7-day forecast for a zipcode, citycode or latitude/longitude.
- code:Passed as an associative array, tells the function what type of code you are passing and its value. This method only accepts a zip code but it still must be passed in an array for consistency. Ex: array('zipCode'=>zipcode).
- unitType (optional): 0 - U.S. customary units (miles, °F, etc...) [default], 1 - Metric system units (kms, °C, etc...).