Openuv
OpenUV is an API that provides ultraviolet radiation index and sun exposure data for locations.
- Base URL:
https://api.openuv.io/api/v1 - Auth:
bearer(pass your key via theapiKeyinput)
Operations
get_forecast— GET /forecast — Get hourly UV Index Forecast by location and date. Optional altitude, ozone leveget_protection— GET /protection — Get daily protection time by location, UV Index from and UV Index to with 10 minget_uv— GET /uv — Get real-time UV Index by location. Optional altitude, ozone level and datetime
Inputs
apiKey— your openuv 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_forecast
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_forecast, get_protection, get_uv |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |