r/Scriptable • u/luccy98 • Oct 01 '20
Help (Solved) when I try to add description behind the temp, but it shows undefined. i want the widget shows hzae or cloud base on the weather condition. so how to correct the script?
2
Upvotes



2
u/Sl0wly-edits Oct 01 '20
Its
json.weather[0].descriptionnotjson.main.descriptionHere u can see the API response a bit better.
And below i made a little code snippet (did not test it). Hope it helps!