Weather for scriptable

Alternative, less feature rich version than @JoshFarrant version. Mine runs entirely within Scriptable.

  1. Requires the Dark Sky API key to be in DarkSky_Key.txt file in the Scriptable iCloud Drive directory
  2. Requires png files with the same name as icon values returned by the API: clear-day , clear-night , rain , snow , sleet , wind , fog , cloudy , partly-cloudy-day , partly-cloudy-night. I used the excellent Climacons from Adam Whitcroft, and converted the svg versions to png. These icons go in Icons sub directory of Scriptable directory.
  3. If you don’t want the icon, feel free to comment out/remove lines 26, 30 - 35 and 38

Feedback and opportunities to improve this are welcome.

p.s. Special thanks to @scottfwalter for helping me with HTTP Request: making request from a function

1 Like