Alternative, less feature rich version than @JoshFarrant version. Mine runs entirely within Scriptable.
- Requires the Dark Sky API key to be in DarkSky_Key.txt file in the Scriptable iCloud Drive directory
- 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. - 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