Created
January 19, 2025 14:09
-
-
Save nejdetkadir/a0d323c942d60820b92a2501800e5cb8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"plan": { | |
"id": 16, | |
"created_at": "2025-01-19T17:02:08.818763+03:00", | |
"updated_at": "2025-01-19T17:02:08.818763+03:00", | |
"deleted_at": null, | |
"name": "plan 1", | |
"start_point": { | |
"latitude": 40.748817, | |
"longitude": -73.985428 | |
}, | |
"end_point": { | |
"latitude": 40.712776, | |
"longitude": -74.005974 | |
}, | |
"waypoints": [ | |
{ | |
"latitude": 40.761432, | |
"longitude": -73.977621 | |
}, | |
{ | |
"latitude": 40.729524, | |
"longitude": -73.996275 | |
} | |
], | |
"integration_response": { | |
"routes": [ | |
{ | |
"fare": null, | |
"legs": [ | |
{ | |
"steps": [ | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.1 mi", | |
"value": 223 | |
}, | |
"duration": { | |
"text": "3m20s", | |
"value": 200 | |
}, | |
"polyline": { | |
"points": "awuwF|gqbMIXCDq@xBM^GRa@pACFWp@]dAQl@" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7497939, | |
"lng": -73.9877382 | |
}, | |
"start_location": { | |
"lat": 40.7488094, | |
"lng": -73.9854335 | |
}, | |
"transit_details": null, | |
"html_instructions": "Head <b>northwest</b> on <b>W 34th St.</b> toward <b>6th Ave</b>/<wbr/><b>Ave of the Americas</b><div style=\"font-size:0.9em\">Walk your bicycle</div>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.9 mi", | |
"value": 1441 | |
}, | |
"duration": { | |
"text": "5m1s", | |
"value": 301 | |
}, | |
"polyline": { | |
"points": "e}uwFjvqbMSMOISMmAw@KIIEWOUM_@UCAUMw@i@cAs@SMc@[g@]EAQMWQc@Ym@_@SMIGk@_@CC[Qe@[SO]Sq@c@WQYQe@[o@c@UMuA}@QKQMKIIEcBiAOKe@[u@g@_@UaBgA[S]W_@UCCy@g@{B{A}@m@a@U_@WOKk@_@SMKGKISO{@k@SMm@a@}ByA" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7611566, | |
"lng": -73.9795075 | |
}, | |
"start_location": { | |
"lat": 40.7497939, | |
"lng": -73.9877382 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>6th Ave</b>/<wbr/><b>Ave of the Americas</b><div style=\"font-size:0.9em\">Pass by Citi (on the right in 0.6 mi)</div>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "259 ft", | |
"value": 79 | |
}, | |
"duration": { | |
"text": "14s", | |
"value": 14 | |
}, | |
"polyline": { | |
"points": "gdxwF|bpbMPg@FQJW`@qA" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.760805, | |
"lng": -73.9786922 | |
}, | |
"start_location": { | |
"lat": 40.7611566, | |
"lng": -73.9795075 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>W 52nd St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "262 ft", | |
"value": 80 | |
}, | |
"duration": { | |
"text": "14s", | |
"value": 14 | |
}, | |
"polyline": { | |
"points": "_bxwFx}obM_Ak@}@m@" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7614324, | |
"lng": -73.9782354 | |
}, | |
"start_location": { | |
"lat": 40.760805, | |
"lng": -73.9786922 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b> toward <b>W 53rd St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "135 ft", | |
"value": 41 | |
}, | |
"duration": { | |
"text": "52s", | |
"value": 52 | |
}, | |
"polyline": { | |
"points": "}exwF~zobM`@wA" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7612649, | |
"lng": -73.9778001 | |
}, | |
"start_location": { | |
"lat": 40.7614324, | |
"lng": -73.9782354 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>W 53rd St</b><div style=\"font-size:0.9em\">Walk your bicycle</div>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "20 ft", | |
"value": 6 | |
}, | |
"duration": { | |
"text": "17s", | |
"value": 17 | |
}, | |
"polyline": { | |
"points": "{dxwFfxobMIE" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7613112, | |
"lng": -73.9777733 | |
}, | |
"start_location": { | |
"lat": 40.7612649, | |
"lng": -73.9778001 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b>" | |
} | |
], | |
"distance": { | |
"text": "1.2 mi", | |
"value": 1870 | |
}, | |
"duration": { | |
"text": "9m58s", | |
"value": 598 | |
}, | |
"end_address": "18th Floor, New York, NY 10019, USA", | |
"arrival_time": null, | |
"end_location": { | |
"lat": 40.7613112, | |
"lng": -73.9777733 | |
}, | |
"via_waypoint": [], | |
"start_address": "W 34 St & 5 Av, New York, NY 10001, USA", | |
"departure_time": null, | |
"start_location": { | |
"lat": 40.7488094, | |
"lng": -73.9854335 | |
}, | |
"duration_in_traffic": { | |
"text": "", | |
"value": 0 | |
} | |
}, | |
{ | |
"steps": [ | |
{ | |
"steps": null, | |
"distance": { | |
"text": "20 ft", | |
"value": 6 | |
}, | |
"duration": { | |
"text": "1s", | |
"value": 1 | |
}, | |
"polyline": { | |
"points": "eexwF`xobMHD" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7612649, | |
"lng": -73.9778001 | |
}, | |
"start_location": { | |
"lat": 40.7613112, | |
"lng": -73.9777733 | |
}, | |
"transit_details": null, | |
"html_instructions": "Head <b>southwest</b> toward <b>W 53rd St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.2 mi", | |
"value": 395 | |
}, | |
"duration": { | |
"text": "1m34s", | |
"value": 94 | |
}, | |
"polyline": { | |
"points": "{dxwFfxobMa@vAc@pAGTWz@qCvIy@dCe@zA" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7629805, | |
"lng": -73.98190509999999 | |
}, | |
"start_location": { | |
"lat": 40.7612649, | |
"lng": -73.9778001 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>W 53rd St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "2.3 mi", | |
"value": 3709 | |
}, | |
"duration": { | |
"text": "12m22s", | |
"value": 742 | |
}, | |
"polyline": { | |
"points": "soxwF|qpbM^Tv@h@RLNJRLb@Zd@X\\VTNbAl@d@ZNJlBnAbAt@JFLH\\PNJXRRLVNJFHHFBFD~BvAp@d@FDDD`Al@\\Vl@`@@?TNRL|@l@|@l@f@ZNLNHPNVNTNhAt@x@j@l@^^Vl@`@`@V\\TB@DDTL@@DBRJvA`Ad@ZNJ`@TfAr@\\V~@l@\\T\\T|@l@HDTNv@j@l@`@ZPdCbB\\TB@RN\\Th@Zb@Xd@Xn@d@ZTPJ@@^T\\VLHLJjBlArAz@f@\\fBhATNTNZR\\Th@\\VPh@\\r@d@DBTNn@b@PLb@XZTb@VbAr@j@\\PLdAp@~@l@RNPLTNz@j@x@h@JFhBjArBrArBtAfAr@n@b@JFrBrAfCbBjAt@|@l@FBxBvATNJHD@b@XHFHDXTDBHDJDLFNFVL`@Rp@ZPJzBdA`@RDB\\N\\Pl@Zl@XPHlAh@" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7336386, | |
"lng": -74.0027973 | |
}, | |
"start_location": { | |
"lat": 40.7629805, | |
"lng": -73.98190509999999 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b> onto <b>7th Ave</b><div style=\"font-size:0.9em\">Pass by Five Guys (on the left in 1.2 mi)</div>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.2 mi", | |
"value": 402 | |
}, | |
"duration": { | |
"text": "1m53s", | |
"value": 113 | |
}, | |
"polyline": { | |
"points": "gxrwFnttbMZWZUNOZUPOf@a@n@k@x@q@jAcANOFIBEBE@IHYN_@HUVm@lA}CDI" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7310508, | |
"lng": -73.9996091 | |
}, | |
"start_location": { | |
"lat": 40.7336386, | |
"lng": -74.0027973 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b> onto <b>West 4th Street</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.2 mi", | |
"value": 305 | |
}, | |
"duration": { | |
"text": "55s", | |
"value": 55 | |
}, | |
"polyline": { | |
"points": "ahrwFp`tbMHUDId@mAHSHUDIdAqCHOPg@h@uAt@mBVo@" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7295593, | |
"lng": -73.9965745 | |
}, | |
"start_location": { | |
"lat": 40.7310508, | |
"lng": -73.9996091 | |
}, | |
"transit_details": null, | |
"html_instructions": "Continue onto <b>Washington Square S</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "75 ft", | |
"value": 23 | |
}, | |
"duration": { | |
"text": "4s", | |
"value": 4 | |
}, | |
"polyline": { | |
"points": "w~qwFpmsbMTm@" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7294458, | |
"lng": -73.9963412 | |
}, | |
"start_location": { | |
"lat": 40.7295593, | |
"lng": -73.9965745 | |
}, | |
"transit_details": null, | |
"html_instructions": "Continue onto <b>West 4th Street</b><div style=\"font-size:0.9em\">Destination will be on the left</div>" | |
} | |
], | |
"distance": { | |
"text": "3.0 mi", | |
"value": 4840 | |
}, | |
"duration": { | |
"text": "16m49s", | |
"value": 1009 | |
}, | |
"end_address": "43 West 4th Street, New York, NY 10012, USA", | |
"arrival_time": null, | |
"end_location": { | |
"lat": 40.7294458, | |
"lng": -73.9963412 | |
}, | |
"via_waypoint": [], | |
"start_address": "18th Floor, New York, NY 10019, USA", | |
"departure_time": null, | |
"start_location": { | |
"lat": 40.7613112, | |
"lng": -73.9777733 | |
}, | |
"duration_in_traffic": { | |
"text": "", | |
"value": 0 | |
} | |
}, | |
{ | |
"steps": [ | |
{ | |
"steps": null, | |
"distance": { | |
"text": "420 ft", | |
"value": 128 | |
}, | |
"duration": { | |
"text": "24s", | |
"value": 24 | |
}, | |
"polyline": { | |
"points": "a~qwFblsbMl@{ADMfAwC" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7288258, | |
"lng": -73.9950546 | |
}, | |
"start_location": { | |
"lat": 40.7294458, | |
"lng": -73.9963412 | |
}, | |
"transit_details": null, | |
"html_instructions": "Head <b>southeast</b> on <b>West 4th Street</b> toward <b>Greene St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.2 mi", | |
"value": 250 | |
}, | |
"duration": { | |
"text": "42s", | |
"value": 42 | |
}, | |
"polyline": { | |
"points": "ezqwF`dsbMNLjB|ALJr@h@RPDBHHTPTR\\VlA`A" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7269367, | |
"lng": -73.99666429999999 | |
}, | |
"start_location": { | |
"lat": 40.7288258, | |
"lng": -73.9950546 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>Mercer St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "269 ft", | |
"value": 82 | |
}, | |
"duration": { | |
"text": "15s", | |
"value": 15 | |
}, | |
"polyline": { | |
"points": "knqwFbnsbMJUPc@JWZw@JW" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7265323, | |
"lng": -73.9958473 | |
}, | |
"start_location": { | |
"lat": 40.7269367, | |
"lng": -73.99666429999999 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b> onto <b>Bleecker St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.3 mi", | |
"value": 463 | |
}, | |
"duration": { | |
"text": "1m59s", | |
"value": 119 | |
}, | |
"polyline": { | |
"points": "ykqwF`isbM\\VTRbAx@HH^VTNFFLJVVl@d@f@`@XVt@l@f@`@RNzCbCvAfA" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7230336, | |
"lng": -73.998815 | |
}, | |
"start_location": { | |
"lat": 40.7265323, | |
"lng": -73.9958473 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>Broadway</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.1 mi", | |
"value": 158 | |
}, | |
"duration": { | |
"text": "1m0s", | |
"value": 60 | |
}, | |
"polyline": { | |
"points": "}upwFp{sbMd@sAb@qA\\kAV{@JW" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7223335, | |
"lng": -73.9971779 | |
}, | |
"start_location": { | |
"lat": 40.7230336, | |
"lng": -73.998815 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b> onto <b>Spring St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.7 mi", | |
"value": 1120 | |
}, | |
"duration": { | |
"text": "4m54s", | |
"value": 294 | |
}, | |
"polyline": { | |
"points": "qqpwFjqsbMfCnBJHfBpAx@p@h@`@pAdAVRpBhBr@n@jB~AZXPP|@v@ZZHFf@d@tAjAb@`@`Av@FDBFp@d@~@t@v@p@b@^TN`@Bf@D`@D~@Jl@Rf@L^L`@ND@ZLDBTJ" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7136697, | |
"lng": -74.0036638 | |
}, | |
"start_location": { | |
"lat": 40.7223335, | |
"lng": -73.9971779 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>Lafayette St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "226 ft", | |
"value": 69 | |
}, | |
"duration": { | |
"text": "17s", | |
"value": 17 | |
}, | |
"polyline": { | |
"points": "m{nwFzytbMVPVRb@\\FDJL" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7131479, | |
"lng": -74.0040977 | |
}, | |
"start_location": { | |
"lat": 40.7136697, | |
"lng": -74.0036638 | |
}, | |
"transit_details": null, | |
"html_instructions": "Continue onto <b>Centre St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "0.1 mi", | |
"value": 170 | |
}, | |
"duration": { | |
"text": "41s", | |
"value": 41 | |
}, | |
"polyline": { | |
"points": "exnwFr|tbMQh@M^Wn@ITWt@EJADABABw@vB" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.71394129999999, | |
"lng": -74.0058233 | |
}, | |
"start_location": { | |
"lat": 40.7131479, | |
"lng": -74.0040977 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>right</b> onto <b>Chambers St</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "240 ft", | |
"value": 73 | |
}, | |
"duration": { | |
"text": "36s", | |
"value": 36 | |
}, | |
"polyline": { | |
"points": "c}nwFjgubMN?@?B?@?@?ZV@?z@n@" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7133595, | |
"lng": -74.0061821 | |
}, | |
"start_location": { | |
"lat": 40.71394129999999, | |
"lng": -74.0058233 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b> toward <b>City Hall Pk Path</b>" | |
}, | |
{ | |
"steps": null, | |
"distance": { | |
"text": "164 ft", | |
"value": 50 | |
}, | |
"duration": { | |
"text": "8s", | |
"value": 8 | |
}, | |
"polyline": { | |
"points": "oynwFriubMJUBGBEBCBCBADCBC@CL]" | |
}, | |
"travel_mode": "BICYCLING", | |
"end_location": { | |
"lat": 40.7130687, | |
"lng": -74.00573949999999 | |
}, | |
"start_location": { | |
"lat": 40.7133595, | |
"lng": -74.0061821 | |
}, | |
"transit_details": null, | |
"html_instructions": "Turn <b>left</b> onto <b>City Hall Pk Path</b><div style=\"font-size:0.9em\">Destination will be on the right</div>" | |
} | |
], | |
"distance": { | |
"text": "1.6 mi", | |
"value": 2563 | |
}, | |
"duration": { | |
"text": "10m56s", | |
"value": 656 | |
}, | |
"end_address": "1356 Broadway, New York, NY 10018, USA", | |
"arrival_time": null, | |
"end_location": { | |
"lat": 40.7130687, | |
"lng": -74.00573949999999 | |
}, | |
"via_waypoint": [], | |
"start_address": "43 West 4th Street, New York, NY 10012, USA", | |
"departure_time": null, | |
"start_location": { | |
"lat": 40.7294458, | |
"lng": -73.9963412 | |
}, | |
"duration_in_traffic": { | |
"text": "", | |
"value": 0 | |
} | |
} | |
], | |
"bounds": { | |
"northeast": { | |
"lat": 40.7629805, | |
"lng": -73.9777733 | |
}, | |
"southwest": { | |
"lat": 40.7130687, | |
"lng": -74.0061821 | |
} | |
}, | |
"summary": "6th Ave/Ave of the Americas", | |
"warnings": [ | |
"Bicycling directions are in beta. Use caution – This route may contain streets that aren't suited for bicycling." | |
], | |
"copyrights": "Map data ©2025 Google", | |
"waypoint_order": [ | |
0, | |
1 | |
], | |
"overview_polyline": { | |
"points": "awuwF|gqbMsCxIo@rBc@WwBuAqAu@mAw@wAaAcBiA}ByA_FaDwGiE{UuOoBqAgBmAaAo@}ByAPg@Ri@`@qA_Ak@}@m@`@wAIEHDeAhD_@pAkE|Me@zA^TjAv@b@X|B|AfFdDnA|@j@ZtA|@d@ZpD|BLJnCfBdDxBjGdEdEnCp@^nD~B~HhFdBlA`DtBrA|@lAt@tA~@nAx@~KnHtFpDjHzEhIpFp_@pVpA|@h@VpHnDvCvA~Ar@v@m@dBwAdEqDP_@Xy@`@cAbBgE~@aC|GgQlAeDzBjBzAjArAfAlA`AJU\\{@f@oAr@j@lAbAt@f@zApA~ChCnDrCvAfAd@sA`A}Cb@sAtH|FzBfBhC|BlEzDjC`CbEjDBFp@d@~@t@zApATN`@BhAJ~@Jl@RfAZf@P`@Pl@\\nAdAaAnCa@jAy@zBN?H?xAfAVg@PMNa@" | |
} | |
} | |
], | |
"version": 1, | |
"provider": "google", | |
"waypoints": [ | |
{ | |
"types": [ | |
"establishment", | |
"point_of_interest", | |
"transit_station" | |
], | |
"place_id": "ChIJIVU5uqlZwokR2LghIMwsSoQ", | |
"partial_match": false, | |
"geocoder_status": "OK" | |
}, | |
{ | |
"types": [ | |
"establishment", | |
"point_of_interest" | |
], | |
"place_id": "ChIJt3vYe_lYwokRCx8bfyW1rxg", | |
"partial_match": false, | |
"geocoder_status": "OK" | |
}, | |
{ | |
"types": [ | |
"street_address" | |
], | |
"place_id": "ChIJBxcPXpBZwokR3m445QVhWmQ", | |
"partial_match": false, | |
"geocoder_status": "OK" | |
}, | |
{ | |
"types": [ | |
"street_address" | |
], | |
"place_id": "ChIJSyX8DCJawokRQzG7RkXmPO4", | |
"partial_match": false, | |
"geocoder_status": "OK" | |
} | |
] | |
}, | |
"user_id": 1 | |
} | |
}, | |
"success": true, | |
"error": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment