aarondcoleman / Fitbit.NET

Fitbit .NET API Client Library
MIT License
193 stars 138 forks source link

Activity Log #245

Closed hnabih closed 5 years ago

hnabih commented 5 years ago

My project is MVC 5,is there a way to get the activity name and duration?

I tried

var stats = await fitbitClient.GetDayActivityAsync(DateTime.Today, null);

hnabih commented 5 years ago

The problem was the logged activity was not one of the common Fitbit activities so it did not show up. However, if the activity is a common, it works.