Skip to content

Instantly share code, notes, and snippets.

I love it when a plan comes together

Sebastian K skrollme

I love it when a plan comes together
View GitHub Profile
skrollme / covid-19-incidence-osna.js
Last active Dec 7, 2020
Scriptable iOS14 Widget for Covid19 Incidence (Osnabrueck City & District), Datasource:
View covid-19-incidence-osna.js
// Adapted from:
const API_URL = ''
const LIMIT_RED = 50
const LIMIT_ORANGE = 35
const LIMIT_RED_COLOR = new Color('FF1A2A')
const LIMIT_ORANGE_COLOR = new Color('FFD800')
const LIMIT_GREEN_COLOR = new Color('00B32C')
const widget = await createWidget()