cpfair / tapiriik

tapiriik keeps your fitness in sync
https://tapiriik.com
Apache License 2.0
1.71k stars 293 forks source link

Google Fit support #86

Open jimmykane opened 9 years ago

jimmykane commented 9 years ago

Hi there. Great application.

Is there any chance for looking into google fit support, specifically export mainly? That would be very useful since some of the services already do not support google fit.

Thanks a lot!

salberin commented 9 years ago

Agree, I would like this as well. Especially as it is an aggregator in itself

MadMG commented 9 years ago

+1

jesperordrup commented 9 years ago

+2 for import ;)

coach0742 commented 9 years ago

+!

mduggan commented 9 years ago

I made a start on this, but it seems the API is still a little broken. I used the REST API here: https://developers.google.com/fit/rest/ and I can list sessions and data sources, but none of the data sources actually contain any data - I tried all the data sources I can see with all sorts of data ranges.

My dashboard shows a bunch of activity, so there should be some data there somewhere..

Should still be possible to export to google fit, but syncing from it might be a problem at the moment.

jimmykane commented 9 years ago

Syncing from it can be the second step. First step would be syncing into it.

An aggregated data dashboard from the rest of the apps.

On Sat, Feb 14, 2015, 14:10 Matthew Duggan notifications@github.com wrote:

I made a start on this, but it seems the API is still a little broken. I used the REST API here: https://developers.google.com/fit/rest/ and I can list sessions and data sources, but none of the data sources actually contain any data - I tried all the data sources I can see with all sorts of data ranges.

My dashboard shows a bunch of activity, so there should be some data there somewhere..

Should still be possible to export to google fit, but syncing from it might be a problem at the moment.

— Reply to this email directly or view it on GitHub https://github.com/cpfair/tapiriik/issues/86#issuecomment-74374418.

korjavin commented 8 years ago

+1

mduggan commented 8 years ago

I rebased #110 and fixed the code a little, but it still has a problem in that uploaded activities don't appear on the fit dashboard. They are there if you query them from the API though.

Also the way I made it download activities assumes that the apps made "sessions", which not all apps do.

If anyone is smart enough to work out how to make activities appear then please have a go! Useful links: https://developers.google.com/fit/rest/v1/reference/ https://developers.google.com/apis-explorer/#p/fitness/v1/ https://plus.google.com/communities/103314459667402704958

Megachip commented 8 years ago

Anything new on google fit sync? For me it is more interesting to get data from google fit, not to put them there(wich most tools already did).

mduggan commented 8 years ago

I haven't looked at it recently, but every time I look the rest API is a little bit less broken. I probably won't have time in the next couple of weeks, but will take another look at it when I have some time, and squash down my overly long commit stream in #110 :)

fyksen commented 7 years ago

Any news about this? Is the fit API cleaning up?

Stanzilla commented 6 years ago

@mduggan @cpfair any news here? Would be awesome to get this integration going.

fathermocker commented 6 years ago

Same question. This would be great!

zssachen commented 5 years ago

+1

brisdaz commented 2 years ago

Any updates on this?

UPDATE: I see last December 2021 there was a pull request.. Can this be tested and merged? I'm not a developer but a power user. How can I help?