10. Okt 2018
danielbahl
Wicked! Thanks for uploading 🎉
log current UV Index to HealthKit
First release
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/math'
#include 'actions/location'
#define color taupe
#define glyph sun
getCurrentWeather()
getWeatherDetail(nil, "UV Index")
const UV = round(0)
rawAction("is.workflow.actions.health.quantity.log", {
"WFQuantitySampleAdditionalQuantity": "",
"WFQuantitySampleDate": "{CurrentDate}",
"WFQuantitySampleQuantity": "",
"WFQuantitySampleType": "UV Index"
})
show("The UV Index is {}")
stop()
Wicked! Thanks for uploading 🎉