Skip to content

Instantly share code, notes, and snippets.

@santiagobasulto
Created May 31, 2012 19:13
Show Gist options
  • Save santiagobasulto/2845549 to your computer and use it in GitHub Desktop.
Save santiagobasulto/2845549 to your computer and use it in GitHub Desktop.
Workout format for Athlete.com API
{
"run_date": "1970-01-01T00:00:00Z",
"title": "Run Title!",
"run_type": "Endurance",
"duration_in_seconds": 3600,
"distance_in_meters": 1000,
"post_body": "This is the body, in order to provide a full description of your run",
"points": [
{
"lng":"-111.5373066",
"lat":"40.7231711",
"time": "1970-01-01T00:00:04Z",
"elev": "1942.1789265256325"
},
{
"lng":"-111.5372056",
"lat":"40.7228762",
"time": "1970-01-01T00:00:07Z",
"elev": "1942.109892409177"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment