How can I read the health data using Samsung Health API. i.e step count

How can I read the health data using Samsung Health API. i.e step count

There is Sample code to gather step data every 10 minutes on this Samsung Health page

Ron
Samsung Developer Program