How to get SPO2 directly from Apple Watch

Hi, I'm developing an application that would like to sync my vitals stats from my Apple Watch. So is there anyway to get vitals (like SPO2) directly from my Apple Watch? Does HealthKit help this?

Thank you.

Replies

SpO2 data collected on Apple Watch are saved in HealthKit as samples of type HKQuantityTypeIdentifierOxygenSaturation. You can query for these using HealthKit sample queries.