Slowgeek » Forums » General
 
FAQ   •     •   Login  •   Challenge Search:

Extended Data?

(2 posts)

  1. ljhardy

    new member
    Joined: Jan '10
    Posts: 3

    Does anybody know what the data points are in the "Extended Data" that is returned in the Nike+ public api? It looks like data that would be used for graphing a specific run, but I'm not sure if it is distance/time and what the interval is or what if it's miles, km, meters etc.

    Thanks, Len

    Posted 7 months ago #      

  2. rlerdorf

    senior admin
    Joined: Nov '08
    Posts: 236

    There are 2 blocks of extended data. Each one tells you what it is:

    <extendedData dataType="distance" intervalType="time" intervalUnit="s" intervalValue="10">

    and

    <extendedData dataType="speed" intervalType="time" intervalUnit="s" intervalValue="10">

    So, the first says each value represents a distance with the interval between the values is time in seconds of size 10. That means that each number is the distance (in meters) taken at 10s intervals.

    The second blob of data are speed readings, again at 10s intervals. There used to only be one ExtendedData block and I don't actually see the point of the second one as the speed can be calculated from the distance over time data in the first block. I only use the first block of data for the graphs you see here on Slowgeek.

    Posted 7 months ago #      

Reply

You must log in to post.

RSS feed for this topic