coddingtonbear / python-myfitnesspal

Access your meal tracking data stored in MyFitnessPal programatically
MIT License
794 stars 138 forks source link

Is it possible to get steps data (synced from my iOS client)? #53

Closed johnsturgeon closed 6 years ago

johnsturgeon commented 6 years ago

I'm using the new 'get_exercise' api, but I don't see steps data in there. Is it stored some other place?

mtthwsar commented 6 years ago

I think it might be in get_measurements, and you'll need to check what the measurement is called under http://www.myfitnesspal.com/measurements/check_in

javiergarza commented 6 years ago

No, steps are not listed under measurements. Anybody knows where to pull the API definition file? (swagger/RAML)

coddingtonbear commented 6 years ago

I'm afraid there is no publicly documented API-- what this library does is a combination of scraping the site's HTML and using undocumented APIs that one can see being used by the frontend.

On May 26, 2018, at 11:31, J.G. notifications@github.com wrote:

No, steps are not listed under measurements. Anybody knows where to pull the API definition file? (swagger/RAML)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

coddingtonbear commented 6 years ago

Given that this issue has been open for quite a while with no positive answer, I'm going to guess that the answer is "No". If somebody does find a way of pulling-in that data; I'd love to see a pull request adding it, though!

Cheers!

mtthwsar commented 6 years ago

Steps ARE listed under measurements for Fitbit (as "Fitbit steps") but I haven't seen them listed for Apple Watch or other trackers like Polar or Garmin.