Script which shows weather datas from the openweathermap-api in Scriptable for iOS in the lockscreen-widgets.
First of all, you need an API-key by OpenWeather out of your account. If you doesn't have an accountone, click here to sign up.
- Inline (current weather)
- Circular (current weather)
- Rectangular (current & forecast)
- Current & Forecast
- Clickable rows
- Detailview of each day
- Dialog, that shows the city ID
- Quick access to this GitHub Repo in the footer
The Script updates itself1
const unit = 'metric' //Units of measurement: 'standard', 'metric' and 'imperial' units are available.
const unitSymb = '°' //Celsius
const unitSpeed = 'km/h'
const language = 'de' //learn more: https://openweathermap.org/current#multi
const apiKey = 'YOUR API KEY GOES HERE'
const standardParameter = '30;current'
Default value if null: 30;current
The number at the beginning means the refresh intervall of the widget.
The second value controls which datas will be shown (current or forecast)