dexcom-share-api
Version:
Lightweight JS wrapper for the unofficial Dexcom share API. Useful if you need access to realtime glucose levels.
14 lines (13 loc) • 532 B
TypeScript
import type { LatestGlucoseProps, GlucoseEntry, ConfigurationProps } from "./types";
export declare class DexcomClient {
private username;
private password;
private server;
static get APPLICATION_ID(): string;
private static get DEXCOM_SERVERS();
constructor({ username, password, server }: ConfigurationProps);
getAccountId(): Promise<string>;
getSessionId(): Promise<string>;
getEstimatedGlucoseValues({ minutes, maxCount }?: LatestGlucoseProps): Promise<GlucoseEntry[]>;
private apiUrl;
}