Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 3.15 KB

README.md

File metadata and controls

68 lines (52 loc) · 3.15 KB

Inline-Weather

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.

Features

Available Widget Sizes (Lockscreen)

  • Inline (current weather)
  • Circular (current weather)
  • Rectangular (current & forecast)

Tabel View (In App)

  • Current & Forecast
  • Clickable rows
  • Detailview of each day
  • Dialog, that shows the city ID
  • Quick access to this GitHub Repo in the footer

Selfupdate Function

The Script updates itself1

Config

Script Parameter

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'

Widget Parameter

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)



Footnotes

  1. Function is written by the amazing @mvan231