Get current 1-7 day forecast by city or ZIP Code.
Endpoints
Forecast
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.
GET
Get current 1-7 day forecast by city or ZIP Code.
Authorizations
Query Parameters
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'.
Available options:
Metric, Imperial The number of days for the forecast. Default is 1 day, maximum is 7 days.
Required range:
1 <= x <= 7
