Such an api sort of already exists in the form of Fitbit's api which can be found at http://dev.fitbit.com/.
Fitbit holds a lot of the data hostage, but it's at least something that anyone wearing a Fitbit can easily grant access to.
Fitbit holds a lot of the data hostage, but it's at least something that anyone wearing a Fitbit can easily grant access to.
See https://wiki.fitbit.com/display/API/API-Get-Intraday-Time-Se... for more information. You can retrieve data in 1 min or 15 min increments.