Returns the current weather forecast for a specified city. Users can input city name or ZIP Code to return a forecast. Forecast includes up to 7 days of weather information.
Name of the city (e.g., 'Albuquerque'). If a ZIP Code is provided, the city will be derived from the ZIP Code.
Optional ZIP Code for the city. If provided, it will be used to derive the city name.
The unit of temperature measurement. Can be either 'Metric' or 'Imperial'. Default is 'Metric'.
Metric
, Imperial
The number of days for the forecast. Default is 1 day, maximum is 7 days.
1 <= x <= 7
Successful response with weather forecast data
The response is of type object
.