php-runtastic
php-runtastic copied to clipboard
Missing data elements
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?
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.
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}}]
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.
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
Hello,
Something similar in question:
- Have you managed to figure out how to retrieve the complete details of the route like latitude/longtitude per recorded timestamp?
- 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