ShareShortcuts

Füllstand deut. Gasspeicher

Lese den altuellen Gassoeicherstabd aus

bmitc
Bifurcar “Füllstand deut. Gasspeicher”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que bmitc reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
28K
Guardado
0
Acciones
32
Categoría
API
Versión
1.0
Idioma
EN

Lese den altuellen Gassoeicherstabd aus.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 30 de oct. de 2023

First release

Qué hace

32 acciones
  1. Get Contents of URL
    https://static.dwcdn.net/data/AMb3G.csv
  2. Split Text
  3. Split Text
  4. Set Variable
    Complete List
  5. Repeat with Each
  6. If
  7. Calculate
  8. Calculate
  9. Get Item from List
  10. Set Variable
    Found?
  11. Get Item from List
  12. Split Text
  13. Get Item from List
  14. Get Item from List
  15. Text
  16. Set Variable
    Date
  17. Get Item from List
  18. Set Variable
    Füllstand
  19. Get Item from List
  20. Split Text
  21. Set Variable
    Median
  22. Split Text
  23. Get Item from List
  24. Get Item from List
  25. Split Text
  26. Get Item from List
  27. Get Item from List
  28. Text
  29. Set Variable
    Median
  30. Show Notification
    Am … betrug der Füllstand …%. 2022 lag der Wert bei: …%
  31. Stop This Shortcut
  32. If

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#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 {
	}
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

También te puede gustar

Ver todo
Publicidad