Skip to content

Instantly share code, notes, and snippets.

@Flumee
Flumee / WeatherWidget_Scriptable.js
Created November 6, 2020 08:58
WeatherWidget_Scriptable
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: yellow; icon-glyph: child;
// Widget Params
// Don't edit this, those are default values for debugging (location for Cupertino).
// You need to give your locations parameters through the widget params, more info below.
const widgetParams = JSON.parse((args.widgetParameter != null) ? args.widgetParameter : '{ "LAT" : "49,119" , "LON" : "6.173" , "LOC_NAME" : "Metz" }')
// WEATHER API PARAMETERS !important