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 Connection.
To use Weather API, you must first register to obtain an API token. Subscribe to the plan that fits your expected consumption.
Configuration Parametersto define the location, request type, and date range directly in the configuration.
Using an Input Tableto set the fetching parameters dynamically from an input table. This approach is beneficial when determining the location based on data from an upstream pipeline.
Forecastto obtain a forecast (use
Forecast daysto specify how many days ahead you want data for).
Historyto retrieve historical data. Use
Historical Dateto specify the period in the past.
126.96.36.199. Learn more in the documentation.
YYYY-MM-DDformat or a relative date like
True, the process will continue dispite fetching errors, and failed responses will be saved in the
failed_fetches.csvfile. If set to
False, the component run will terminate with an error as soon as one request fails.
fetch_parameter_from is set to
input_table, you can use a single input table to set fetching parameters.
longitudecolumns to specify the data fetching location.
forecast, you can include a
forecast_dayscolumn. It will define the
forecast_daysconfiguration value. If not provided, the
forecast_daysvalue will default to 10.
historical_datecolumn must be added. It will define the
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.