This is an unofficial ConnectSDK. For educational use only.
I am not affiliated with Garmin, nor do I represent any of Garmin's interests.
Download and include a compiled version of the jar into your local project.
Create a new instance of the GarminApiService
GarminApiService garminApiService = new GarminApiService("User Id", "Access Token");
LocalDate date = LocalDate.parse("2019-10-17");
DailySleepData dailySleepData = getDailySleepData.getDailySleepData(date);
LocalDate date = LocalDate.parse("2019-10-17");
DailyHeartRate dailyHeartRate = getDailySleepData.getDailyHrData(date);
LocalDate date = LocalDate.parse("2019-10-17");
DailyMovementData dailyMovementData = getDailySleepData.getDailyMovement(date);
LocalDate date = LocalDate.parse("2019-10-17");
DailyUserSummary dailyUserSummary = getDailySleepData.getDailyUserSummary(date);
- Derek Provance - Initial work