gongzhang / HiCoffeeApp

MIT License
13 stars 0 forks source link

Feature request: App URL's to retrieve data #36

Open NickVulkers opened 1 year ago

NickVulkers commented 1 year ago

Fiddling around with the Widgy app I found out that from the Apple Health data, I can only retrieve today's caffeine consumption. But I would prefer to get some extra stats in my widgets like the ones that come with HiCoffee. An example is this Reddit post, the dietary widget: image

Are there any available URLs for this yet? If not, can those be created? I would like URLs for:

This would also go for the HiWater app.

gongzhang commented 1 year ago

Hi @NickVulkers ,

Due to the iOS sandboxing, there's currently no direct way to access data within other apps, and URL schemes would force the app to open in the foreground. However, you should be able to retrieve the corresponding daily intake count and drink names from HealthKit.