Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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)

like image 731
Ali Hasnain Avatar asked Nov 02 '19 07:11

Ali Hasnain


People also ask

Does Apple Watch have an API?

CallKit API in watchOS 9 CallKit was first introduced to the iPhone with iOS 10, and is now finally coming to the Apple Watch with watchOS 9. For those unfamiliar, this API lets developers integrate their VoIP apps directly into the system's native calling interface.

Can you access Apple Watch data?

Add information from your Apple Watch To view your goals and your move, exercise, and stand data, open the Health app, tap the Browse tab, then tap Activity. To see your heart rate data, open the Health app, tap the Browse tab, then tap Heart.

Is there an API for Apple Health?

Connecting Apple Health to Human API To share this data with Human API, we have created a Human API iOS app that users will use in conjunction with Human Connect.

How do I extract health data from Apple Watch?

In order to get the raw export, go into the “Apple Health” app, tap on your user icon and then select “Export Health Data.” This export process may take a few minutes, and, once completed, you should then have a filed called “export. zip”. You can share the file with yourself via AirDrop, Email or any other method.


1 Answers

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.

  • HealthKit documentation
  • URL Loading System
  • CloudKit documentation
like image 114
Austin Conlon Avatar answered Oct 11 '22 18:10

Austin Conlon