gongzhang / HiCoffeeApp

MIT License
12 stars 0 forks source link

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

Open NickVulkers opened 8 months ago

NickVulkers commented 8 months 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 8 months 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.