This guide provides the necessary details to integrate Stellife data into Power BI or other BI tools.
https://api.stellife.com/api/v2/Retrieve cellular hubs registered under your organization.
GET /external/hubslimit (default: 500, max: 1000), since, since_idcurl -X GET "<https://api.stellife.com/api/v2/external/hubs?limit=5>" \
-H "Authorization: Token <your_token>"
{
"count": 2,
"has_more": false,
"next_since": null,
"next_since_id": null,
"results": [
{
"id": "NAFHEACECLIEYQFSP00HTHGC30OSLMF",
"esn": "NAFHEACECLIEYQFSP00HTHGC30OSLMF",
"org_id": "7Z2DWCKRIC",
"created_time": "2020-09-30T16:36:50.979Z",
"firmware_version": "v1.3.8-rc6"
},
{
"id": "OSAJ6U9CLVIP0E2YOQXDMRTL5VN02V8",
"esn": "OSAJ6U9CLVIP0E2YOQXDMRTL5VN02V8",
"org_id": "7Z2DWCKRIC",
"created_time": "2021-03-02T04:34:09.713Z",
"firmware_version": "v1.3.8-rc6"
}
]
}
Retrieve medical measurements transmitted through your hubs.
GET /api/v2/external/measurementslimit (default: 500, max: 1000), since, since_id, type (optional filter: bloodpressure, bodyweight, glucose, pulseox, temperature, wearable)curl -X GET "<https://api.stellife.com/api/v2/external/measurements?limit=2&type=glucose>" \
-H "Authorization: Token <your_token>"
{
"count": 2,
"has_more": true,
"next_since": "2023-08-10T17:09:42.057000+00:00",
"next_since_id": "8f747313-732b-444d-97f4-968e36a85fb1",
"results": [
{
"id": "84f131e3-4efa-4528-8963-ef0a78e31e7b",
"type": "glucose",
"device_time": "2023-08-10T17:04:55Z",
"created_time": "2023-08-10T17:05:01.568Z",
"patient_id": null,
"device_id": "f4b61b97-a385-44ab-9ca6-3b42783d7344",
"hub_id": "OIQQYNW6Y4PBKPERPRX7MA8YQB2YZNZ",
"value": {
"mg_dl": "97.000"
}
},
{
"id": "8f747313-732b-444d-97f4-968e36a85fb1",
"type": "glucose",
"device_time": "2023-08-10T17:09:36Z",
"created_time": "2023-08-10T17:09:42.057Z",
"patient_id": null,
"device_id": "f4b61b97-a385-44ab-9ca6-3b42783d7344",
"hub_id": "OIQQYNW6Y4PBKPERPRX7MA8YQB2YZNZ",
"value": {
"mg_dl": "91.000"
}
}
]
}