ShareShortcuts

Statistiques Covid-19 Ver1.0

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

chtimi92
Fazer fork de “Statistiques Covid-19 Ver1.0”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que chtimi92 receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
44K
Salvo
2
Ações
46
Categoria
API
Versão
1.0
Idioma
FR

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

Novidades

Versão 1.0

First release

Histórico de versões
1.0 14 de jan de 2022

First release

O que ele faz

46 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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 = getListItems(ScinderLeTexte, 0, 0)
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)
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de chtimi92

Ver tudo

Você também pode gostar

Ver tudo
Publicidade