Skip to content

Instantly share code, notes, and snippets.

View MisterMike's full-sized avatar

Nibiru MisterMike

View GitHub Profile
@MisterMike
MisterMike / api-widget-boilerplate.js
Last active October 24, 2020 20:23 — forked from marco79cgn/dm-toilet-paper.js
Scriptable iOS widget that shows the amount of toilet paper which is available at your next dm drugstore
// Thanks https://gist.github.com/marco79cgn/23ce08fd8711ee893a3be12d4543f2d2 for the code :-)
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-blue; icon-glyph: magic;
let storeId = 178
let country
let param = args.widgetParameter
if (param != null && param.length > 0) {
storeId = param
}