8. Unify data¶
Unify data is raw data with some data manipulation. Parameter names and units are transformed to uniform format.
HTTP GET:
/api/users/{username}/data/unify/{source}/{type}/{year}/{month}/{day}/days/{days}
- username: username of the target user
- source: name of the service the data originates from
- type: type of data
- year: year of the target data
- month: month of the target data
- day: starting day of the target data
- days: how many days of data are requested
8.1. Examples¶
Fitbit - sleep:
/api/users/jwemcudhfkfgusdhduf/data/unify/fitbit/sleep/2013/10/28/days/1
Jawbone - activity:
/api/users/jwemcudhfkfgusdhduf/data/unify/jawbone/activity/2013/10/29/days/1
Withings - weight:
/api/users/jwemcudhfkfgusdhduf/data/unify/withings/weight/2014/4/27/days/2