Weatherbit
Weatherbit is a weather data API that provides current weather, forecasts, historical weather, and air-quality data.
- Base URL:
https://api.weatherbit.io/v2.0 - Auth:
bearer(pass your key via theapiKeyinput)
Operations
get_alerts_lat_lat_lon_lon— GET /alerts?lat={lat}&lon={lon} — Returns severe weather alerts issued by meteorological agencies - Given a lat/lon.get_bulk_files_file— GET /bulk/files/{file} — Download pre-generated bulk datasetsget_current_airquality_city_city_country_country— GET /current/airquality?city={city}&country={country} — Returns current air quality conditions - Given City and/or State, Country.get_current_airquality_city_id_city_id— GET /current/airquality?city_id={city_id} — Returns current air quality conditions - Given a City ID.get_current_airquality_lat_lat_lon_lon— GET /current/airquality?lat={lat}&lon={lon} — Returns current air quality conditions - Given a lat/lon.get_current_airquality_postal_code_postal_code— GET /current/airquality?postal_code={postal_code} — Returns current air quality conditions - Given a Postal Code.
Inputs
apiKey— your weatherbit API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_alerts_lat_lat_lon_lon
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_alerts_lat_lat_lon_lon, get_bulk_files_file, get_current_airquality_city_city_country_country, get_current_airquality_city_id_city_id, get_current_airquality_lat_lat_lon_lon, get_current_airquality_postal_code_postal_code |
city |
string | no | — | Path parameter city (required by some operations). |
city_id |
string | no | — | Path parameter city_id (required by some operations). |
country |
string | no | — | Path parameter country (required by some operations). |
file |
string | no | — | Path parameter file (required by some operations). |
lat |
string | no | — | Path parameter lat (required by some operations). |
lon |
string | no | — | Path parameter lon (required by some operations). |
postal_code |
string | no | — | Path parameter postal_code (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |