Skip to content

Instantly share code, notes, and snippets.

@olikdesign
olikdesign / telekom-datenvolumen
Last active Jan 2, 2021
Telekom Datenvolumen Widget - edit olikdesign (orig. @Sillium)
View telekom-datenvolumen
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: pink; icon-glyph: magic;
// creator: https://github.com/Sillium | functions added https://github.com/LupusArgentum | Color and Layout edit by https://github.com/olikdesign
const apiUrl = "https://pass.telekom.de/api/service/generic/v1/status"
let widget = await createWidget()
widget.backgroundColor = new Color("#E20074")
if (!config.runsInWidget) await widget.presentSmall()