-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retrieve data prior to authorization date #14
Comments
It's also ridiculously difficult to scrape flow.polar.com in order to programatically export historical sessions. I have a good year and a half of historical data that I wanted to sync to a Strava account I've just created, but Polar expect me to individually export each of my hundreds of historical sessions in order to do so. |
@asib you can export a zip with all data with this procedure: https://support.polar.com/en/how-to-download-all-your-data-from-polar-flow |
@asib Which endpoints did you use to query all the sessions in order to export them? |
@mado89 The endpoints of flow.polar.com are not documented anywhere. Unfortunately you have fire up the developer tools of your browser to find out which endpoints are called. |
Thx. But this also means working out how to authenticate against a different API because this API needs a polar_session cookie and not a token, right? |
From what I understand, currently it is only possible to retrieve data that has been synced after the authorization date. Would it not be beneficial to make it possible to also access data prior to that date? Or at least let it be up to the user authorizing the application whether it should allow it to retrieve data from the past?
By the way, I'm really happy that the API exists at all!
The text was updated successfully, but these errors were encountered: