Scan med din iPhone for at installere
Lese den altuellen Gassoeicherstabd aus.
Nyheder
Version 1.0
First release
Hvad den gør
32 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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 = "{}.{}"
getLastItem(@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, "")
getRandomItem(SplitText3)
getListItem(SplitText3, 2)
@Median = "{}.{}{}"
showNotification("Am {@Date} betrug der Füllstand {@Fllstand}%. 2022 lag der Wert bei: {@Median}%", @Median)
stop()
} else {
}
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Du vil måske også kunne lide
Annonce