ShareShortcuts

Statistiques Covid-19 Ver1.0

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

chtimi92
Создать форк «Statistiques Covid-19 Ver1.0»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы chtimi92 получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
44K
Сохранено
2
Действия
46
Категория
API
Версия
1.0
Язык
FR

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

Что нового

Версия 1.0

First release

История версий
1.0 14 янв 2022 г.

First release

Что делает

Действий: 46
  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

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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)
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от chtimi92

См. все

Вам также может понравиться

См. все
Реклама