Skip to content

Instantly share code, notes, and snippets.

hxperman / Coronavirus County 100K.js
Last active November 17, 2020 09:13 — forked from planecore/Coronavirus.js
Coronavirus Scriptable Widget
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-green; icon-glyph: user-md;
// change "country" in the options to a value from
// Fork from
const country = (args.widgetParameter)
const url = `${country}`
const req = new Request(url)
const res = await req.loadJSON()