🍭 SugarSugar API

A webservice to ask Dexcom Share servers for blood glucose data

LIVE API Version 1.0.0

📊 API Endpoints

GET /glucose
Latest glucose reading in a simple format
GET /graph
List of all glucose readings for the last 2 hours (default)
GET /graph?hours=5.5
Get up to an entire day of glucose readings by adding the query parameter hours and setting it equal to how many hours of data you want (0.1 - 24.0)
GET /health
Service health check and status

📊 Native Web Component

click trendicator to show history

Code examples for a CGM viewer

Code example for an Amazon Echo viewer

⌗ API Responses

/glucose

/graph

/health

📖 Documentation

For complete setup instructions and API documentation, visit the GitHub repository.