Skip to content

Instantly share code, notes, and snippets.

@thorstenleidl
thorstenleidl / vaccination-stats.js
Last active Jan 30, 2021 — forked from marco79cgn/vaccination-stats.js
A Scriptable widget that shows the amount of people who have received the corona vaccination in Germany
View vaccination-stats.js
const cacheMinutes = 60 // 60 min
const today = new Date();
let result
let widget = new ListWidget()
widget.setPadding(10, 15, 10, 10)
await getNumbers()
await createWidget()
Script.setWidget(widget)