google-fit

Ping on workout from connected device to Google Fit


Reading through the documentation for Google fit it seams that you have to poll for workouts regularly to get new workouts. According to the documentation to get a workout you have to list it with a get call source. Is there another way than polling? It would be wonderful to get some ping every time a workout is done instead.


Solution

  • I ended up polling it, as it looks like that is the only way to do it unfortunately.