Skip to content

Instantly share code, notes, and snippets.

@caracalla
Created June 7, 2016 18:43
Show Gist options
  • Save caracalla/3ade2836b83c496202cac016232fd67c to your computer and use it in GitHub Desktop.
Save caracalla/3ade2836b83c496202cac016232fd67c to your computer and use it in GitHub Desktop.
{
"trips": [{
"actual_earnings": 2000,
"actual_starts_at": "2016-03-03T15:29:03.225-08:00",
"estimated_earnings": 2200,
"id": 124377,
"state": "complete",
"time_anchor": "pick_up",
"planned_route": {
"id": 254355,
"total_time": 28.9,
"total_distance": 7368.0,
"starts_at": "2016-03-03T15:53:49.000-08:00",
"ends_at": "2016-03-03T16:22:42.000-08:00",
"overview_polyline": "kzteFj{ajVzIcAbH}@f@hI\\rFbAzOdDzg@hDxh@`A~Mh@hIrAlSfBlXPnDl@|HrAtSf@nItArSnAbRVz@`CpBPJXLP@rEm@xEm@^AZBZFl@`@TLt@N~@Rh@Bf@Aj@KJpA`@lGd@fHfBzWTdDJf@n@~BVlAVlDXbEBxAN~IRjLd@vYf@zYBzAuJXA}AEoA",
"legs": [{
"slug": "1f4da3d9ca53",
"starts_at": "2016-03-03T15:53:49.000-08:00",
"ends_at": "2016-03-03T16:22:42.000-08:00",
"position": 1,
"start_waypoint_id": 251093,
"end_waypoint_id": 251094
}]
}
}, {
"actual_earnings": 1500,
"actual_starts_at": "2016-02-19T18:08:04.325-08:00",
"estimated_earnings": 1500,
"id": 120739,
"state": "complete",
"time_anchor": "pick_up",
"planned_route": {
"id": 247287,
"total_time": 20.5,
"total_distance": 2146.0,
"starts_at": "2016-02-19T18:52:55.000-08:00",
"ends_at": "2016-02-19T19:13:26.000-08:00",
"overview_polyline": "wfneFf~fjVSiIMuFAk@fBKvEWzCSjCItDSxOy@fPw@z@A`CG|COM{FMgFYqLWiKAo@o@B",
"legs": [{
"slug": "6ba2fb866b9d",
"starts_at": "2016-02-19T18:52:55.000-08:00",
"ends_at": "2016-02-19T19:13:26.000-08:00",
"position": 1,
"start_waypoint_id": 244048,
"end_waypoint_id": 244047
}]
}
},
...
{
"actual_earnings": 1500,
"actual_starts_at": "2015-03-03T19:08:49.220-08:00",
"estimated_earnings": 1500,
"id": 4453,
"state": "complete",
"time_anchor": "pick_up",
"planned_route": {
"id": 11002,
"total_time": 11.1,
"total_distance": 1019.0,
"starts_at": "2015-03-03T19:17:29.000-08:00",
"ends_at": "2015-03-03T19:28:35.000-08:00",
"overview_polyline": "_lseFdbajVxBzCrA_BvAkBxCdEr@|@^j@UXm@v@mDvE_DlEu@~@KHo@HM@kAgBeAqAoBmC",
"legs": [{
"slug": "5cfb38dd3b3a",
"starts_at": "2015-03-03T19:17:29.000-08:00",
"ends_at": "2015-03-03T19:28:35.000-08:00",
"position": 1,
"start_waypoint_id": 8574,
"end_waypoint_id": 8575
}]
}
}],
"meta": {
"total": 49
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment