Skip to content

Instantly share code, notes, and snippets.

@gustavompo
Created February 9, 2015 13:41
Show Gist options
  • Select an option

  • Save gustavompo/0654caef12dba9d8e54e to your computer and use it in GitHub Desktop.

Select an option

Save gustavompo/0654caef12dba9d8e54e to your computer and use it in GitHub Desktop.

Revisions

  1. gustavompo renamed this gist Feb 9, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. gustavompo revised this gist Feb 9, 2015. No changes.
  3. gustavompo created this gist Feb 9, 2015.
    50 changes: 50 additions & 0 deletions routeapi-result.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,50 @@
    {
    Status: {
    Code: "OK"
    },
    Routes: [{
    RouteIdentification: "main-route",
    Summary: {
    Duration: 1841.84,
    Distance: 21477,
    Origin: {
    Address: {
    StreetName: "R. Açucena",
    City: "Osasco",
    State: "SP",
    Country: "BRA",
    ZipCode: "06110160"
    },
    MappedLocation: {
    Longitude: -46.79151,
    Latitude: -23.53265
    }
    },
    Destination: {
    Address: { ... },
    MappedLocation: { ... }
    }
    },
    Legs: [{
    Duration: 1724.84,
    Distance: 21464,
    StartAddress: { ... },
    EndAddress: { ... },
    StartLocation: { ... },
    EndLocation: { ... },
    Steps: [{
    Instruction: "Turn Right",
    Distance: 152,
    Duration: 22.77,
    Location: { ... },
    Address: { ... }
    }, {
    Instruction: "Turn Right",
    Distance: 113,
    Duration: 16.91,
    Location: { ... },
    Address: { ... }
    } ....]
    }]
    }]
    }