Skip to content
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

Missing data elements #6

Open
Critter opened this issue Dec 4, 2014 · 5 comments
Open

Missing data elements #6

Critter opened this issue Dec 4, 2014 · 5 comments

Comments

@Critter
Copy link

Critter commented Dec 4, 2014

I am looking to retrieve the 'repetition' value, but I cannot find it in any of the returned data. Is there any way to include it, or is that on /their/ end?

@timoschlueter
Copy link
Owner

What kind of activities have the "repetition" attribute? Can you give me an example? I will look into it.
We should be able to get all the information they have.

@Critter
Copy link
Author

Critter commented Dec 4, 2014

if the type is 'pushups' there is no way to get the count. When I looked at their website the count is displayed under 'repetition'

This is what is returned:

[{"id":359619774,"type":"pushups","type_id":63,"duration":46000,"distance":0,"pace":0.0,"speed":"0.0","kcal":4,"heartrate_avg":0,"heartrate_max":0,"elevation_gain":0.0,"elevation_loss":0.0,"surface":"","weather":"","feeling":"","weather_id":"","feeling_id":"","surface_id":"","notes":"","page_url":"/en/users/Maxwell-Appleton/sport-sessions/359619774","create_route_url_class":"hide","create_route_url":"/en/routes/new?sport_session=359619774","map_url":null,"date":{"year":2014,"month":"12","day":"03","hour":23,"minutes":12,"seconds":8}}]

@timoschlueter
Copy link
Owner

Thanks for the details. I will look into it as soon as i can. If its on their website, is must be available somewhere in the response from their hidden api. I will let you know if i can figure it out.

@timoschlueter
Copy link
Owner

I started looking into the backend of the iOS Runtastic App. So far, i don't see how we can get the "repitition" data from there either.
The dedicated pushup app is completely separated and even the Runtastic session page for push-ups is generated in a different way than any other activity.

To me, this looks like a very rushed approach of storing the data of the dedicated apps on the web page. To receive the data you want, we have to either do more DOM-parsing (which i hate) or access the backend of each of those dedicated apps.
Either way, this seems very exhausting.

If anyone is interested in how the backend-part of the iOS App works: I added everything i know so far to the Wiki of this repository: https://github.com/timoschlueter/php-runtastic/wiki

@giorger
Copy link

giorger commented Feb 16, 2016

Hello,

Something similar in question:

  1. Have you managed to figure out how to retrieve the complete details of the route like latitude/longtitude per recorded timestamp?
  2. Would you mind sharing how we could figure which are the invocations performed from an Android app? Maybe this could help us understand how to retrieve such details.

Giorgos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants