7. Raw data¶
Raw data is unmodified data from the source services. For more details see the service API documentation.
HTTP GET:
/api/users/{username}/data/raw/{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
7.1. Examples¶
Fitbit - sleep:
/api/users/jwemcudhfkfgusdhduf/data/raw/fitbit/sleep/2013/10/28/days/1
(Some parts of the response are shortened for simplicity)
Show/hide responseJawbone - activity:
/api/users/jwemcudhfkfgusdhduf/data/raw/jawbone/activity/2013/10/29/days/1
Withings - weight:
/api/users/jwemcudhfkfgusdhduf/data/raw/withings/weight/2014/4/27/days/2