Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Palm AleksCee

View GitHub Profile
@AleksCee
AleksCee / corona-ampel.js
Last active Oct 23, 2020
Scriptable iOS widget: Corona Ampel auf Basis der RKI-API
View corona-ampel.js
let region = 3 // Niedersachsen
let param = args.widgetParameter
if (param != null && param.length > 0) {
region = param
}
const colors = {35: '#008000', 50: '#CCCC00', 51: '#FF0000'}
const data = await fetchData()
You can’t perform that action at this time.