ShareShortcuts

Statistiques Covid-19 Ver1.0

Statistiques Covid-19 des dernières 24h en France

chtimi92
„Statistiques Covid-19 Ver1.0“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit chtimi92 die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
44K
Gesichert
2
Aktionen
46
Kategorie
API
Version
1.0
Sprache
FR

Statistiques Covid-19 des dernières 24h en France

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 14. Jan 2022

First release

Was er macht

46 Aktionen
  1. URL
    https://www.data.gouv.fr/fr/datasets/r/f335f9ea-86e3-4ffa-9684-93c009d5e617
  2. Get Contents of URL
    …
  3. Split Text
  4. Get Item from List
  5. Split Text
  6. Get Item from List
  7. Format Date
  8. Set Variable
    Datejour
  9. Get Item from List
  10. Set Variable
    Esms_cas
  11. Get Item from List
  12. Split Text
  13. Get Item from List
  14. Set Variable
    TO
  15. Get Item from List
  16. Split Text
  17. Get Item from List
  18. Set Variable
    Esms_dc
  19. Get Item from List
  20. Set Variable
    Dc_tot
  21. Get Item from List
  22. Split Text
  23. Get Item from List
  24. Set Variable
    Rea
  25. Get Item from List
  26. Set Variable
    Hosp
  27. Get Item from List
  28. Set Variable
    Rad
  29. Get Item from List
  30. Set Variable
    Dchosp
  31. Get Item from List
  32. Set Variable
    Incid_rea
  33. Get Item from List
  34. Set Variable
    Incid_hosp
  35. Get Item from List
  36. Set Variable
    Incid_rad
  37. Get Item from List
  38. Set Variable
    Incid_dchosp
  39. Get Item from List
  40. Set Variable
    Conf
  41. Get Item from List
  42. Set Variable
    Conf_j1
  43. Text
  44. URL
    https://images5.alphacoders.com/410/thumb-1920-410316.jpg
  45. Overlay Text
  46. Quick Look

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#include 'actions/web'
#define color green
#define glyph syringe

url("https://www.data.gouv.fr/fr/datasets/r/f335f9ea-86e3-4ffa-9684-93c009d5e617")
const ContenuDeLURL = downloadURL()
const ScinderLeTexte = splitText(ContenuDeLURL)
const lmentDeLaListe = getRandomItem(ScinderLeTexte)
const ScinderLeTexte1 = splitText(lmentDeLaListe, ",,,")
getListItem(ScinderLeTexte1, 1)
formatTimestamp(, "Custom", "None", "dd MMMM yyyy ")
@Datejour
getListItem(ScinderLeTexte1, 3)
@Esms_cas
const lmentDeLaListe1 = getListItem(ScinderLeTexte1, 2)
const ScinderLeTexte2 = splitText(lmentDeLaListe1, ",,")
getListItem(ScinderLeTexte2, 1)
@TO
const lmentDeLaListe2 = getListItem(ScinderLeTexte2, 3)
const ScinderLeTexte3 = splitText(lmentDeLaListe2, ",")
getListItem(ScinderLeTexte3, 1)
@Esms_dc
getListItem(ScinderLeTexte3, 2)
@Dc_tot
const lmentDeLaListe3 = getListItem(ScinderLeTexte2, 2)
const ScinderLeTexte4 = splitText(lmentDeLaListe3, ",")
getListItem(ScinderLeTexte4, 1)
@Rea
getListItem(ScinderLeTexte4, 2)
@Hosp
getListItem(ScinderLeTexte4, 3)
@Rad
getListItem(ScinderLeTexte4, 4)
@Dchosp
getListItem(ScinderLeTexte4, 5)
@Incid_rea
getListItem(ScinderLeTexte4, 6)
@Incid_hosp
getListItem(ScinderLeTexte4, 7)
@Incid_rad
getListItem(ScinderLeTexte4, 8)
@Incid_dchosp
getListItem(ScinderLeTexte4, 9)
@Conf
getListItem(ScinderLeTexte4, 10)
@Conf_j1
const URL = url("https://images5.alphacoders.com/410/thumb-1920-410316.jpg")
rawAction("is.workflow.actions.overlaytext", {
	"WFImage": "URL",
	"WFPercentageFontSize": 0.022421523928642273,
	"WFPercentageTextBoxWidth": 0.9686098694801331,
	"WFPercentageTextStrokeWidth": 0.02466367743909359,
	"WFText": "{}",
	"WFTextAlignment": "Center",
	"WFTextColor": "",
	"WFTextOutlineEnabled": true,
	"WFTextPosition": "Center",
	"WFTextRotation": "0",
	"WFTextStrokeColor": ""
})
quicklook(ImageAvecDuTexte)
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von chtimi92

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung