forecast_weather_api
Retrieve weather forecasts for up to 14 days with astronomy data, daily predictions, and hourly intervals for any location worldwide.
Instructions
Forecast weather API method returns upto next 14 day weather forecast and weather alert as json. It contains astronomy data, day weather forecast and hourly interval weather information for a given city.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Query parameter based on which data is sent back. It could be following: Latitude and Longitude (Decimal degree) e.g: q=48.8567,2.3508 city name e.g.: q=Paris US zip e.g.: q=10001 UK postcode e.g: q=SW1 Canada postal code e.g: q=G2J metar: e.g: q=metar:EGLL iata:<3 digit airport code> e.g: q=iata:DXB auto:ip IP lookup e.g: q=auto:ip IP address (IPv4 and IPv6 supported) e.g: q=100.0.0.1 | |
| days | No | Number of days of forecast required. | 3 |
| lang | No | Returns 'condition:text' field in API in the desired language | |
| dt | No | If passing 'dt', it should be between today and next 10 day in yyyy-MM-dd format. |