yudaduy

Respon Direction Multiple Waypoints + param departure_time

Dec 22nd, 2021
1,320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 9.14 KB | None | 0 0
  1. {
  2.    "geocoded_waypoints" : [
  3.       {
  4.          "geocoder_status" : "OK",
  5.          "place_id" : "ChIJr1BEM-3zaS4RTilnkwNT1QU",
  6.          "types" : [ "street_address" ]
  7.       },
  8.       {
  9.          "geocoder_status" : "OK",
  10.          "place_id" : "ChIJx8QpuZLzaS4RhrLZpBqw4SM",
  11.          "types" : [ "street_address" ]
  12.       },
  13.       {
  14.          "geocoder_status" : "OK",
  15.          "place_id" : "ChIJgescxJLzaS4RbSgWAzK6gfY",
  16.          "types" : [ "street_address" ]
  17.       },
  18.       {
  19.          "geocoder_status" : "OK",
  20.          "place_id" : "ChIJvw8IfvHzaS4RKcAnEqM8HgA",
  21.          "types" : [ "establishment", "point_of_interest" ]
  22.       }
  23.    ],
  24.    "routes" : [
  25.       {
  26.          "bounds" : {
  27.             "northeast" : {
  28.                "lat" : -6.2281414,
  29.                "lng" : 106.8425762
  30.             },
  31.             "southwest" : {
  32.                "lat" : -6.2289458,
  33.                "lng" : 106.8414394
  34.             }
  35.          },
  36.          "copyrights" : "Map data ©2021",
  37.          "legs" : [
  38.             {
  39.                "distance" : {
  40.                   "text" : "0.2 km",
  41.                   "value" : 166
  42.                },
  43.                "duration" : {
  44.                   "text" : "1 min",
  45.                   "value" : 68
  46.                },
  47.                "end_address" : "Jl. Menteng Dalam No.3, RT.11/RW.11, Menteng Dalam, Kec. Tebet, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12870, Indonesia",
  48.                "end_location" : {
  49.                   "lat" : -6.2281414,
  50.                   "lng" : 106.8425762
  51.                },
  52.                "start_address" : "Jl. Menteng Dalam No.42, RT.10/RW.3, Menteng Dalam, Kec. Tebet, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12870, Indonesia",
  53.                "start_location" : {
  54.                   "lat" : -6.228631,
  55.                   "lng" : 106.8414622
  56.                },
  57.                "steps" : [
  58.                   {
  59.                      "distance" : {
  60.                         "text" : "40 m",
  61.                         "value" : 40
  62.                      },
  63.                      "duration" : {
  64.                         "text" : "1 min",
  65.                         "value" : 15
  66.                      },
  67.                      "end_location" : {
  68.                         "lat" : -6.228267799999999,
  69.                         "lng" : 106.8414394
  70.                      },
  71.                      "html_instructions" : "Head \u003cb\u003enorth\u003c/b\u003e on \u003cb\u003eJl. Peningkatan IV\u003c/b\u003e towards \u003cb\u003eJl. Menteng Dalam\u003c/b\u003e",
  72.                      "polyline" : {
  73.                         "points" : "|o_e@cnbkSO@S?Q?Q@"
  74.                      },
  75.                      "start_location" : {
  76.                         "lat" : -6.228631,
  77.                         "lng" : 106.8414622
  78.                      },
  79.                      "travel_mode" : "DRIVING"
  80.                   },
  81.                   {
  82.                      "distance" : {
  83.                         "text" : "0.1 km",
  84.                         "value" : 126
  85.                      },
  86.                      "duration" : {
  87.                         "text" : "1 min",
  88.                         "value" : 53
  89.                      },
  90.                      "end_location" : {
  91.                         "lat" : -6.2281414,
  92.                         "lng" : 106.8425762
  93.                      },
  94.                      "html_instructions" : "Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eJl. Menteng Dalam\u003c/b\u003e",
  95.                      "maneuver" : "turn-right",
  96.                      "polyline" : {
  97.                         "points" : "tm_e@_nbkSOiBIyB"
  98.                      },
  99.                      "start_location" : {
  100.                         "lat" : -6.228267799999999,
  101.                         "lng" : 106.8414394
  102.                      },
  103.                      "travel_mode" : "DRIVING"
  104.                   }
  105.                ],
  106.                "traffic_speed_entry" : [],
  107.                "via_waypoint" : []
  108.             },
  109.             {
  110.                "distance" : {
  111.                   "text" : "46 m",
  112.                   "value" : 46
  113.                },
  114.                "duration" : {
  115.                   "text" : "1 min",
  116.                   "value" : 12
  117.                },
  118.                "end_address" : "10, Jl. Peningkatan I No.39, RT.10/RW.3, Menteng Dalam, Kec. Tebet, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12870, Indonesia",
  119.                "end_location" : {
  120.                   "lat" : -6.2285578,
  121.                   "lng" : 106.8425526
  122.                },
  123.                "start_address" : "Jl. Menteng Dalam No.3, RT.11/RW.11, Menteng Dalam, Kec. Tebet, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12870, Indonesia",
  124.                "start_location" : {
  125.                   "lat" : -6.2281414,
  126.                   "lng" : 106.8425762
  127.                },
  128.                "steps" : [
  129.                   {
  130.                      "distance" : {
  131.                         "text" : "46 m",
  132.                         "value" : 46
  133.                      },
  134.                      "duration" : {
  135.                         "text" : "1 min",
  136.                         "value" : 12
  137.                      },
  138.                      "end_location" : {
  139.                         "lat" : -6.2285578,
  140.                         "lng" : 106.8425526
  141.                      },
  142.                      "html_instructions" : "Head \u003cb\u003esouth\u003c/b\u003e on \u003cb\u003eJl. Peningkatan Raya\u003c/b\u003e towards \u003cb\u003eJl. Peningkatan I\u003c/b\u003e",
  143.                      "polyline" : {
  144.                         "points" : "zl_e@cubkSrAD"
  145.                      },
  146.                      "start_location" : {
  147.                         "lat" : -6.2281414,
  148.                         "lng" : 106.8425762
  149.                      },
  150.                      "travel_mode" : "DRIVING"
  151.                   }
  152.                ],
  153.                "traffic_speed_entry" : [],
  154.                "via_waypoint" : []
  155.             },
  156.             {
  157.                "distance" : {
  158.                   "text" : "0.2 km",
  159.                   "value" : 156
  160.                },
  161.                "duration" : {
  162.                   "text" : "1 min",
  163.                   "value" : 58
  164.                },
  165.                "end_address" : "9, Jl. Peningkatan II No.27, RT.9/RW.3, Menteng Dalam, Kec. Tebet, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12870, Indonesia",
  166.                "end_location" : {
  167.                   "lat" : -6.2289458,
  168.                   "lng" : 106.8414836
  169.                },
  170.                "start_address" : "10, Jl. Peningkatan I No.39, RT.10/RW.3, Menteng Dalam, Kec. Tebet, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12870, Indonesia",
  171.                "start_location" : {
  172.                   "lat" : -6.2285578,
  173.                   "lng" : 106.8425526
  174.                },
  175.                "steps" : [
  176.                   {
  177.                      "distance" : {
  178.                         "text" : "35 m",
  179.                         "value" : 35
  180.                      },
  181.                      "duration" : {
  182.                         "text" : "1 min",
  183.                         "value" : 9
  184.                      },
  185.                      "end_location" : {
  186.                         "lat" : -6.228869,
  187.                         "lng" : 106.842574
  188.                      },
  189.                      "html_instructions" : "Head \u003cb\u003esouth\u003c/b\u003e on \u003cb\u003eJl. Peningkatan Raya\u003c/b\u003e towards \u003cb\u003eJl. Peningkatan II\u003c/b\u003e",
  190.                      "polyline" : {
  191.                         "points" : "no_e@}tbkS`@AZA"
  192.                      },
  193.                      "start_location" : {
  194.                         "lat" : -6.2285578,
  195.                         "lng" : 106.8425526
  196.                      },
  197.                      "travel_mode" : "DRIVING"
  198.                   },
  199.                   {
  200.                      "distance" : {
  201.                         "text" : "0.1 km",
  202.                         "value" : 121
  203.                      },
  204.                      "duration" : {
  205.                         "text" : "1 min",
  206.                         "value" : 49
  207.                      },
  208.                      "end_location" : {
  209.                         "lat" : -6.2289458,
  210.                         "lng" : 106.8414836
  211.                      },
  212.                      "html_instructions" : "Turn \u003cb\u003eright\u003c/b\u003e onto \u003cb\u003eJl. Peningkatan II\u003c/b\u003e\u003cdiv style=\"font-size:0.9em\"\u003eDestination will be on the left\u003c/div\u003e",
  213.                      "maneuver" : "turn-right",
  214.                      "polyline" : {
  215.                         "points" : "lq_e@aubkSFlBFjB"
  216.                      },
  217.                      "start_location" : {
  218.                         "lat" : -6.228869,
  219.                         "lng" : 106.842574
  220.                      },
  221.                      "travel_mode" : "DRIVING"
  222.                   }
  223.                ],
  224.                "traffic_speed_entry" : [],
  225.                "via_waypoint" : []
  226.             }
  227.          ],
  228.          "overview_polyline" : {
  229.             "points" : "|o_e@cnbkSgABYcFtBBZAFlBFjB"
  230.          },
  231.          "summary" : "Jl. Menteng Dalam",
  232.          "warnings" : [],
  233.          "waypoint_order" : [ 0, 1 ]
  234.       }
  235.    ],
  236.    "status" : "OK"
  237. }
Advertisement
Add Comment
Please, Sign In to add comment