Weather API is a free service that offers information on forecasted, real-time, and historical weather, including marine weather.
This component enables users to load data from Weather API and bring it into Keboola.
To use Weather API, you must first register to obtain an API token. Subscribe to the plan that fits your expected consumption.
Configuration Parameters to define the location, request type, and date range directly in the configuration.Using an Input Table to set the fetching parameters dynamically from an input table. This approach is beneficial when determining the location based on data from an upstream pipeline.Forecast to obtain a forecast (use Forecast days to specify how many days ahead you want data for).History to retrieve historical data. Use Historical Date to specify the period in the past.100.0.0.1. Learn more in the documentation.YYYY-MM-DD format or a relative date like last week.True, the process will continue dispite fetching errors, and failed responses will be saved in the failed_fetches.csv file.
If set to False, the component run will terminate with an error as soon as one request fails.If fetch_parameter_from is set to input_table, you can use a single input table to set fetching parameters.
latitude and longitude columns to specify the data fetching location.
forecast, you can include a forecast_days column. It will define the forecast_days configuration value. If not provided, the forecast_days value will default to 10.history, a historical_date column must be added. It will define the historical_date configuration value.Each row in the input table represents a single API request.
There are four output tables:
weather_astronomical.csv: Contains daily historical and future astronomical data.weather_daily.csv: Contains daily forecasts and historical data.weather_hourly.csv: Contains hourly forecasts and historical data.failed_fetches.csv: If the ‘continue on failure’ parameter is set to true, this table will record any errors that occurr during data fetching.