Can we access Apple watch tracking data through a WEB/REST API?
Asked Answered
I

1

10

I am planning to access the Apple watch tracking data(steps,sleep etc.) of a user through WEB/REST API on my webapp.

I can't find any doc on Apple site regarding this, Is it possible ?(plz provide reference in your answer)

Iredale answered 2/11, 2019 at 7:27 Comment(0)
E
8

HealthKit is where you would access Apple Watch sensor capabilities. Since health data is sensitive, you would have to look through the documentation linked below and see what's accessible. You'll also have to ask for user permission and provide a privacy policy when submitting to the App Store. As for your web app counterpart, you can use transport mechanisms like URLSession and perhaps CloudKit.

Eightieth answered 4/11, 2019 at 1:15 Comment(4)
So basically without an iOS app its not possible to get data from apple watch. Data flow is like device -> your iOS app -> your webApp . Am i correct?. Can i access data directly from webapp just like fitbit ?Iredale
You can create a independent watchOS app without the iOS requirement. It depends on the type of data, as I mentioned you have to look at the HealthKit documentation.Eightieth
i just want the basic data like steps,distance,sleep. And i want to get this data on my web portal.Iredale
Healthkit is the only option, you should have and iOS app which connects with Healthkit on your phone to get Apple Watch data through Apple HealthIredale

© 2022 - 2024 — McMap. All rights reserved.