This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-gray; icon-glyph: magic; | |
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0 | |
// | |
// ------------- | |
// Configuration | |
// ------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -------------------------------------------------------------- | |
Script: crypto-ticker-widget | |
Author: Nico Wickersheim | |
Version: 2.0.0 | |
Description: | |
Displays the current course of a cryptoin any fiat currency based on | |
the data of coinbase API. | |
Changelog: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-blue; icon-glyph: book; share-sheet-inputs: plain-text; | |
// Stock Ticker Widget | |
let stocksInfo = await getStockData() | |
let widget = await createWidget() | |
if (config.runsInWidget) { | |
// The script runs inside a widget, so we pass our instance of ListWidget to be shown inside the widget on the Home Screen. | |
Script.setWidget(widget) | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -------------------------------------------------------------- | |
Script: random-meme.js | |
Author: Nico Wickersheim | |
Version: 1.0.0 | |
Description: | |
Displays a random meme every time the script is executed. | |
Widget is large for optimal visualization. | |
Changelog: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -------------------------------------------------------------- | |
Script: btc-usd-course.js | |
Author: Nico Wickersheim | |
Version: 1.0.0 | |
Description: | |
Displays the current bitcoin course in US-Dollar $ based on | |
the data of coinbase API. | |
Changelog: |