ShareShortcuts

Statistiques Covid-19 Ver1.0

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

chtimi92
Fork “Statistiques Covid-19 Ver1.0”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so chtimi92 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
44K
Saved
2
Actions
46
Category
API
Version
1.0
Language
FR

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

What's New

Version 1.0

First release

Version History
1.0 Jan 14, 2022

First release

What it does

46 actions
  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

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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 = getFirstItem(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)
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

More by chtimi92

See All

You Might Also Like

See All
Advertisement