Scanne avec ton iPhone pour installer
Lese den altuellen Gassoeicherstabd aus.
Nouveautés
Version 1.0
First release
Ce qu’il fait
32 actions-
Get Contents of URLhttps://static.dwcdn.net/data/AMb3G.csv
-
Split Text
-
Split Text
-
Set VariableComplete List
-
Repeat with Each
-
If
-
Calculate
-
Calculate
-
Get Item from List
-
Set VariableFound?
-
Get Item from List
-
Split Text
-
Get Item from List
-
Get Item from List
-
Text
-
Set VariableDate
-
Get Item from List
-
Set VariableFüllstand
-
Get Item from List
-
Split Text
-
Set VariableMedian
-
Split Text
-
Get Item from List
-
Get Item from List
-
Split Text
-
Get Item from List
-
Get Item from List
-
Text
-
Set VariableMedian
-
Show NotificationAm … betrug der Füllstand …%. 2022 lag der Wert bei: …%
-
Stop This Shortcut
-
If
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/web'
#define color orange
#define glyph circledUpArrow
const ContentsOfURL = fileRequest("https://static.dwcdn.net/data/AMb3G.csv", "GET")
const SplitText = splitText(ContentsOfURL)
splitText(SplitText, ",")
@CompleteList
for _ in @CompleteList {
if !@RepeatItem {
const CalculationResult = @RepeatIndex - 12
const CalculationResult1 = CalculationResult + 5
getListItems(@CompleteList, CalculationResult, CalculationResult1)
@Found
const ItemFromList = getRandomItem(@Found)
const SplitText1 = splitText(ItemFromList, ".")
getListItem(SplitText1, 0)
getListItem(SplitText1, 2)
@Date = "{}.{}"
getRandomItem(@Found)
@Fllstand
const ItemFromList1 = getListItem(@Found, 5)
splitText(ItemFromList1)
@Median = ItemFromList1
const SplitText2 = splitText(@Median, ".")
getRandomItem(SplitText2)
const ItemFromList2 = getListItem(SplitText2, 2)
const SplitText3 = splitText(ItemFromList2, "")
getListItem(SplitText3, 0)
getListItem(SplitText3, 2)
@Median = "{}.{}{}"
showNotification("Am {@Date} betrug der Füllstand {@Fllstand}%. 2022 lag der Wert bei: {@Median}%", @Median)
stop()
} else {
}
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité