Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Did you have a chance to create a workout with multiple TrackPoints? #5

Open
azabujuban opened this issue Jul 9, 2014 · 0 comments

Comments

@azabujuban
Copy link

I played with the code a little, and post a sample data that looks like that:

u'2014-07-03 08:41:04 UTC;3;35.6337639224;139.7425504681;0.0;15;100.11;0;
2014-07-03 08:41:13 UTC;3;35.6343409326;139.7424352169;0.06;15;99.63;72;
2014-07-03 08:41:22 UTC;3;35.6348643824;139.7424182016;0.06;15;99.63;87;
2014-07-03 08:41:25 UTC;3;35.6349875964;139.7424538247;0.01;15;99.63;87;
2014-07-03 08:41:26 UTC;3;35.6350626983;139.7424684931;0.01;15;99.63;87;'

The response accepted is 200, and I can see a newly created workout, but... there is a single point saved, and the distance recorded is 0...

These are the parameters which are passed in the request:

['goalType']    'BASIC' str
['language']    'en'    str
['workoutId']   -6046338501707138829L   long
['heartRateAvg']    None    NoneType
['audioMessage']    'false' str
['calories']    None    NoneType
['duration']    228 int
['hydration']   None    NoneType
['gzip']    'true'  str
['sport']   1   int
['extendedResponse']    'true'  str

Stil I can't see what is that I'm doing wrong...

@azabujuban azabujuban changed the title Did you have a chance to create a workout wiht multiple TrackPoints? Did you have a chance to create a workout with multiple TrackPoints? Jul 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant