Ali Hasnain
Ali Hasnain

Reputation: 210

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

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)

Upvotes: 10

Views: 20362

Answers (1)

Curiosity
Curiosity

Reputation: 264

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.

Upvotes: 8

Related Questions