-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathdocs.html
136 lines (134 loc) · 35.5 KB
/
docs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<html hola_ext_inject="disabled"><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></head><body><div id="mashape-docs-container-837609771"><style>.mashape-clearfix:after,.mashape-clearfix:before{content:"";display:table}.mashape-clearfix:after{clear:both}.mashape-doc{display:block!important;font-family:Arial,sans-serif;font-size:13px;color:rgba(0,0,0,.8);line-height:20px}.mashape-doc *{margin:0;border:0;padding:0}.mashape-doc .mashape-group{margin-top:40px}.mashape-doc .mashape-group:first-of-type{margin-top:0}.mashape-doc .mashape-group-header{font-size:1.6em;font-weight:700;line-height:1.3em;margin-bottom:7px;padding:0 10px}.mashape-doc .mashape-endpoint{-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;transition:all .2s ease-out;border-top:1px rgba(0,0,0,.12) solid;padding:7px 10px}.mashape-doc .mashape-endpoint:hover{background:rgba(0,0,0,.04);cursor:pointer}.mashape-doc .mashape-endpoint:last-of-type{border-bottom:1px rgba(0,0,0,.12) solid}.mashape-doc .mashape-endpoint.mashape-selected{background:0 0}.mashape-doc .mashape-endpoint.mashape-authentication:hover,.mashape-doc .mashape-endpoint.mashape-selected:hover{background:0 0;cursor:auto}.mashape-doc .mashape-endpoint.mashape-authentication .mashape-parameter-description:before{content:""}.mashape-doc .mashape-endpoint .mashape-endpoint-name{font-weight:700;font-size:1.1em}.mashape-doc .mashape-endpoint .mashape-endpoint-method{font-family:monospace;text-transform:uppercase;float:right}.mashape-doc .mashape-endpoint .mashape-endpoint-method.mashape-get{color:#66A4D1}.mashape-doc .mashape-endpoint .mashape-endpoint-method.mashape-post{color:#8CB562}.mashape-doc .mashape-endpoint .mashape-endpoint-method.mashape-put{color:#936}.mashape-doc .mashape-endpoint .mashape-endpoint-method.mashape-delete{color:#CB3234}.mashape-doc .mashape-endpoint .mashape-endpoint-route,.mashape-doc .mashape-endpoint .mashape-example{display:block;background:rgba(0,0,0,.04);border:1px solid rgba(0,0,0,.12);border-radius:3px;font-family:monospace;padding:5px 9px;margin-top:1em;overflow:auto}.mashape-doc .mashape-endpoint .mashape-endpoint-route span,.mashape-doc .mashape-endpoint .mashape-example span{text-transform:uppercase}.mashape-doc .mashape-endpoint .mashape-example{background:0 0;margin-bottom:1.5em;white-space:pre;max-height:340px}.mashape-doc .mashape-endpoint .mashape-parameter-header,.mashape-doc .mashape-endpoint .mashape-response-header{font-weight:700;margin-top:1em}.mashape-doc .mashape-endpoint .mashape-response-header{margin:1.5em 0 -.5em}.mashape-doc .mashape-endpoint .mashape-parameter{margin:6px 0 14px;padding-left:20px}.mashape-doc .mashape-endpoint .mashape-parameter:after,.mashape-doc .mashape-endpoint .mashape-parameter:before{content:"";display:table}.mashape-doc .mashape-endpoint .mashape-parameter:after{clear:both}.mashape-doc .mashape-endpoint .mashape-parameter div:nth-child(1){float:left;width:20%;position:relative;z-index:100}.mashape-doc .mashape-endpoint .mashape-parameter div:nth-child(2){float:right;width:80%}.mashape-doc .mashape-endpoint .mashape-parameter-name{display:block;margin-left:-10px;opacity:.5;font-weight:700}.mashape-doc .mashape-endpoint .mashape-parameter-constant,.mashape-doc .mashape-endpoint .mashape-parameter-type{text-transform:capitalize}.mashape-doc .mashape-endpoint .mashape-parameter-optional:before{content:", "}.mashape-doc .mashape-endpoint .mashape-parameter-description:before{content:": "}.mashape-doc .mashape-endpoint .mashape-parameter-example{display:block}.mashape-doc .mashape-endpoint .mashape-endpoint-content{max-height:0;overflow-y:hidden;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;transition:all .2s ease-out}.mashape-doc .mashape-endpoint.active .mashape-endpoint-content{max-height:500px}</style><div class="mashape-doc"><div class="mashape-group"><div class="mashape-group-header">Address</div><div class="mashape-endpoint active"><span class="mashape-endpoint-name">Address List</span> <span class="mashape-endpoint-method mashape-get">GET</span><p>returns a list of address options from the user input free text, use this to give the users several options to choose from</p><div class="mashape-endpoint-content"><span class="mashape-endpoint-route"><span>GET</span> /waze/addressList</span><div class="mashape-parameter-header">Route Parameters</div><div class="mashape-parameter"><span class="mashape-parameter-name">address</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">user free text address input</span> <span class="mashape-parameter-example">Example:6 E 57th St New York</span></div><div class="mashape-response-header">Response Example</div><span class="mashape-example">{"addressList":["6 East 57th Street, New York, NY 10022","6 57th St, West New York, NJ"]}</span></div></div></div><div class="mashape-group"><div class="mashape-group-header">Routes</div><div class="mashape-endpoint active"><span class="mashape-endpoint-name">Routes Directions</span> <span class="mashape-endpoint-method mashape-get">GET</span><p>Send start&end point (use "address list" call for more fine grained input) and get routes with directions</p><div class="mashape-endpoint-content"><span class="mashape-endpoint-route"><span>GET</span> /waze/routesWithDirections</span><div class="mashape-parameter-header">Route Parameters</div><div class="mashape-parameter"><span class="mashape-parameter-name">end</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">end point address</span> <span class="mashape-parameter-example">Example:156 5th Avenue, New York, NY 10010</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">start</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">start point address</span> <span class="mashape-parameter-example">Example:6 East 57th Street, New York, NY 10022</span></div><div class="mashape-response-header">Response Example</div><span class="mashape-example">{"startPoint":"6 East 57th Street, New York, NY 10022","endPoint":"156 5th Avenue, New York, NY 10010","endLatitude":"40.73994445800781","endLongitude":"-73.99105834960938","routesWithDirections":[{"routeName":"5th Ave, W 19th St Manhattan","routeStatus":"OPEN","routeParts":[{"latitude":"40.762288","longitude":"-73.97236099999999","instruction":"TURN_LEFT","streetName":"E 57th St","tollRoad":false,"timeToCrossInSeconds":19,"timeFromStartInSeconds":0,"lengthOfPartInMeters":65},{"latitude":"40.762966999999996","longitude":"-73.973968","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":19,"lengthOfPartInMeters":85},{"latitude":"40.762293","longitude":"-73.974457","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":26,"lengthOfPartInMeters":80},{"latitude":"40.761666999999996","longitude":"-73.974915","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":32,"lengthOfPartInMeters":80},{"latitude":"40.761041084141","longitude":"-73.975385665894","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":37,"lengthOfPartInMeters":79},{"latitude":"40.760418","longitude":"-73.975831","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":45,"lengthOfPartInMeters":80},{"latitude":"40.759786999999996","longitude":"-73.976289","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":51,"lengthOfPartInMeters":79},{"latitude":"40.759164999999996","longitude":"-73.976744","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":57,"lengthOfPartInMeters":80},{"latitude":"40.758538","longitude":"-73.977201","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":63,"lengthOfPartInMeters":79},{"latitude":"40.757912","longitude":"-73.97765500000001","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":69,"lengthOfPartInMeters":80},{"latitude":"40.757284","longitude":"-73.978116","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":75,"lengthOfPartInMeters":79},{"latitude":"40.756654999999995","longitude":"-73.978565","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":9,"timeFromStartInSeconds":81,"lengthOfPartInMeters":79},{"latitude":"40.756032","longitude":"-73.979024","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":15,"timeFromStartInSeconds":90,"lengthOfPartInMeters":80},{"latitude":"40.755404999999996","longitude":"-73.979483","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":105,"lengthOfPartInMeters":79},{"latitude":"40.754782999999996","longitude":"-73.97993699999999","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":113,"lengthOfPartInMeters":80},{"latitude":"40.754155","longitude":"-73.980395","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":120,"lengthOfPartInMeters":86},{"latitude":"40.753481","longitude":"-73.980888","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":126,"lengthOfPartInMeters":85},{"latitude":"40.75281400000001","longitude":"-73.981372","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":132,"lengthOfPartInMeters":78},{"latitude":"40.752196999999995","longitude":"-73.981822","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":4,"timeFromStartInSeconds":137,"lengthOfPartInMeters":79},{"latitude":"40.751577","longitude":"-73.982275","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":141,"lengthOfPartInMeters":78},{"latitude":"40.750959","longitude":"-73.98272399999999","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":149,"lengthOfPartInMeters":78},{"latitude":"40.75034417257524","longitude":"-73.9831774988776","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":22,"timeFromStartInSeconds":154,"lengthOfPartInMeters":78},{"latitude":"40.749724","longitude":"-73.983621","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":9,"timeFromStartInSeconds":176,"lengthOfPartInMeters":79},{"latitude":"40.749102","longitude":"-73.984076","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":185,"lengthOfPartInMeters":84},{"latitude":"40.748439000000005","longitude":"-73.98456","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":193,"lengthOfPartInMeters":85},{"latitude":"40.747772999999995","longitude":"-73.985046","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":199,"lengthOfPartInMeters":79},{"latitude":"40.747152","longitude":"-73.985496","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":205,"lengthOfPartInMeters":78},{"latitude":"40.746536","longitude":"-73.98594899999999","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":4,"timeFromStartInSeconds":212,"lengthOfPartInMeters":78},{"latitude":"40.745920999999996","longitude":"-73.98639299999999","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":216,"lengthOfPartInMeters":79},{"latitude":"40.745301","longitude":"-73.986846","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":224,"lengthOfPartInMeters":76},{"latitude":"40.74470265107141","longitude":"-73.9872829203808","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":229,"lengthOfPartInMeters":81},{"latitude":"40.744066","longitude":"-73.987746","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":235,"lengthOfPartInMeters":78},{"latitude":"40.743451","longitude":"-73.988194","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":240,"lengthOfPartInMeters":80},{"latitude":"40.74281954232788","longitude":"-73.9886543558197","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":246,"lengthOfPartInMeters":64},{"latitude":"40.742315647254","longitude":"-73.989017114382","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":4,"timeFromStartInSeconds":251,"lengthOfPartInMeters":51},{"latitude":"40.741913273916","longitude":"-73.989309475164","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":4,"timeFromStartInSeconds":255,"lengthOfPartInMeters":47},{"latitude":"40.741546461757","longitude":"-73.989587083797","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":259,"lengthOfPartInMeters":85},{"latitude":"40.74087390332086","longitude":"-73.99007536441803","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":265,"lengthOfPartInMeters":77},{"latitude":"40.740264032245136","longitude":"-73.990520682209","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":270,"lengthOfPartInMeters":75},{"latitude":"40.739672999999996","longitude":"-73.990945","instruction":"TURN_RIGHT","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":10,"timeFromStartInSeconds":276,"lengthOfPartInMeters":74},{"latitude":"40.739087999999995","longitude":"-73.99137499999999","instruction":"TURN_RIGHT","streetName":"W 19th St","tollRoad":false,"timeToCrossInSeconds":28,"timeFromStartInSeconds":286,"lengthOfPartInMeters":311},{"latitude":"40.740442","longitude":"-73.994593","instruction":"TURN_RIGHT","streetName":"6th Ave","tollRoad":false,"timeToCrossInSeconds":9,"timeFromStartInSeconds":314,"lengthOfPartInMeters":75},{"latitude":"40.741031","longitude":"-73.994165","instruction":"APPROACHING_DESTINATION","streetName":"W 20th St","tollRoad":false,"timeToCrossInSeconds":41,"timeFromStartInSeconds":323,"lengthOfPartInMeters":292}],"routeStreets":["E 57th St","E 57th St","5th Ave","5th Ave","W 19th St","Avenue of the Americas","6th Ave","W 20th St"]},{"routeName":"5th Ave, 7th Ave Manhattan","routeStatus":"OPEN","routeParts":[{"latitude":"40.762288","longitude":"-73.97236099999999","instruction":"TURN_LEFT","streetName":"E 57th St","tollRoad":false,"timeToCrossInSeconds":19,"timeFromStartInSeconds":0,"lengthOfPartInMeters":65},{"latitude":"40.762966999999996","longitude":"-73.973968","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":19,"lengthOfPartInMeters":85},{"latitude":"40.762293","longitude":"-73.974457","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":26,"lengthOfPartInMeters":80},{"latitude":"40.761666999999996","longitude":"-73.974915","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":32,"lengthOfPartInMeters":80},{"latitude":"40.761041084141","longitude":"-73.975385665894","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":37,"lengthOfPartInMeters":79},{"latitude":"40.760418","longitude":"-73.975831","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":45,"lengthOfPartInMeters":80},{"latitude":"40.759786999999996","longitude":"-73.976289","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":51,"lengthOfPartInMeters":79},{"latitude":"40.759164999999996","longitude":"-73.976744","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":57,"lengthOfPartInMeters":80},{"latitude":"40.758538","longitude":"-73.977201","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":63,"lengthOfPartInMeters":79},{"latitude":"40.757912","longitude":"-73.97765500000001","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":69,"lengthOfPartInMeters":80},{"latitude":"40.757284","longitude":"-73.978116","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":75,"lengthOfPartInMeters":79},{"latitude":"40.756654999999995","longitude":"-73.978565","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":9,"timeFromStartInSeconds":81,"lengthOfPartInMeters":79},{"latitude":"40.756032","longitude":"-73.979024","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":15,"timeFromStartInSeconds":90,"lengthOfPartInMeters":80},{"latitude":"40.755404999999996","longitude":"-73.979483","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":105,"lengthOfPartInMeters":79},{"latitude":"40.754782999999996","longitude":"-73.97993699999999","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":113,"lengthOfPartInMeters":80},{"latitude":"40.754155","longitude":"-73.980395","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":120,"lengthOfPartInMeters":86},{"latitude":"40.753481","longitude":"-73.980888","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":126,"lengthOfPartInMeters":85},{"latitude":"40.75281400000001","longitude":"-73.981372","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":132,"lengthOfPartInMeters":78},{"latitude":"40.752196999999995","longitude":"-73.981822","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":4,"timeFromStartInSeconds":137,"lengthOfPartInMeters":79},{"latitude":"40.751577","longitude":"-73.982275","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":141,"lengthOfPartInMeters":78},{"latitude":"40.750959","longitude":"-73.98272399999999","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":5,"timeFromStartInSeconds":149,"lengthOfPartInMeters":78},{"latitude":"40.75034417257524","longitude":"-73.9831774988776","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":22,"timeFromStartInSeconds":154,"lengthOfPartInMeters":78},{"latitude":"40.749724","longitude":"-73.983621","instruction":"CONTINUE","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":9,"timeFromStartInSeconds":176,"lengthOfPartInMeters":79},{"latitude":"40.749102","longitude":"-73.984076","instruction":"TURN_RIGHT","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":185,"lengthOfPartInMeters":84},{"latitude":"40.748439000000005","longitude":"-73.98456","instruction":"CONTINUE","streetName":"E 34th St","tollRoad":false,"timeToCrossInSeconds":37,"timeFromStartInSeconds":193,"lengthOfPartInMeters":310},{"latitude":"40.749772","longitude":"-73.98778","instruction":"TURN_LEFT","streetName":"W 34th St","tollRoad":false,"timeToCrossInSeconds":25,"timeFromStartInSeconds":230,"lengthOfPartInMeters":276},{"latitude":"40.750992","longitude":"-73.990623","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":18,"timeFromStartInSeconds":255,"lengthOfPartInMeters":85},{"latitude":"40.750319","longitude":"-73.99110999999999","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":8,"timeFromStartInSeconds":273,"lengthOfPartInMeters":78},{"latitude":"40.749705999999996","longitude":"-73.991563","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":281,"lengthOfPartInMeters":77},{"latitude":"40.749100999999996","longitude":"-73.992006","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":287,"lengthOfPartInMeters":80},{"latitude":"40.748469","longitude":"-73.992463","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":293,"lengthOfPartInMeters":78},{"latitude":"40.747855","longitude":"-73.99291","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":299,"lengthOfPartInMeters":79},{"latitude":"40.747234999999996","longitude":"-73.993359","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":9,"timeFromStartInSeconds":306,"lengthOfPartInMeters":79},{"latitude":"40.746618","longitude":"-73.993813","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":315,"lengthOfPartInMeters":78},{"latitude":"40.746004","longitude":"-73.99426199999999","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":322,"lengthOfPartInMeters":79},{"latitude":"40.745383","longitude":"-73.994709","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":329,"lengthOfPartInMeters":79},{"latitude":"40.744763","longitude":"-73.99516100000001","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":335,"lengthOfPartInMeters":84},{"latitude":"40.744099","longitude":"-73.995645","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":6,"timeFromStartInSeconds":341,"lengthOfPartInMeters":85},{"latitude":"40.743431","longitude":"-73.996129","instruction":"CONTINUE","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":347,"lengthOfPartInMeters":79},{"latitude":"40.742810999999996","longitude":"-73.99658","instruction":"TURN_LEFT","streetName":"7th Ave","tollRoad":false,"timeToCrossInSeconds":7,"timeFromStartInSeconds":354,"lengthOfPartInMeters":74},{"latitude":"40.742228","longitude":"-73.997007","instruction":"CONTINUE","streetName":"W 20th St","tollRoad":false,"timeToCrossInSeconds":57,"timeFromStartInSeconds":361,"lengthOfPartInMeters":274},{"latitude":"40.741031","longitude":"-73.994165","instruction":"APPROACHING_DESTINATION","streetName":"W 20th St","tollRoad":false,"timeToCrossInSeconds":40,"timeFromStartInSeconds":418,"lengthOfPartInMeters":292}],"routeStreets":["E 57th St","E 57th St","5th Ave","5th Ave","E 34th St","W 34th St","7th Ave","7th Ave","W 20th St"]}],"latitude":"40.76243591308594","longitude":"-73.97339630126953"}</span></div></div><div class="mashape-endpoint active"><span class="mashape-endpoint-name">Routes Calculation</span> <span class="mashape-endpoint-method mashape-get">GET</span><p>Send start&end point (use "address list" call for more fine grained input) and get routes time & cordinates</p><div class="mashape-endpoint-content"><span class="mashape-endpoint-route"><span>GET</span> /waze/routes</span><div class="mashape-parameter-header">Route Parameters</div><div class="mashape-parameter"><span class="mashape-parameter-name">end</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">end point address</span> <span class="mashape-parameter-example">Example:156 5th Avenue, New York, NY 10010</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">start</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">start point address</span> <span class="mashape-parameter-example">Example:6 East 57th Street, New York, NY 10022</span></div><div class="mashape-response-header">Response Example</div><span class="mashape-example">{
"routes": [
{
"routeName": "5th Ave",
"routeDurationInMinutes": 7,
"routeLengthKM": 3.774,
"routeLengthMiles": 2.345054154,
"toll": false
},
{
"routeName": "Park Ave",
"routeDurationInMinutes": 10,
"routeLengthKM": 4.363,
"routeLengthMiles": 2.711041673,
"toll": false
}
],
"startPoint": "6 East 57th Street, New York, NY 10022",
"endPoint": "156 5th Avenue, New York, NY 10010",
"startLatitude": "40.76268222099669",
"startLongitude": "-73.97329400904518",
"endLatitude": "40.762288",
"endLongitude": "-73.97236099999999"
}</span></div></div><div class="mashape-endpoint active"><span class="mashape-endpoint-name">Routes Calculation (coordinates)</span> <span class="mashape-endpoint-method mashape-get">GET</span><p>get routes by latitude and longitude coordinates</p><div class="mashape-endpoint-content"><span class="mashape-endpoint-route"><span>GET</span> /waze/routesXY</span><div class="mashape-parameter-header">Route Parameters</div><div class="mashape-parameter"><span class="mashape-parameter-name">endLat</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">end point latitude</span> <span class="mashape-parameter-example">Example:40.762966999999996</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">endLon</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">end point longitude</span> <span class="mashape-parameter-example">Example:-73.973968</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">startLat</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">start point latitude</span> <span class="mashape-parameter-example">Example:40.76267793274429</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">startLon</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">start point longitude</span> <span class="mashape-parameter-example">Example:-73.97328385997065</span></div><div class="mashape-response-header">Response Example</div><span class="mashape-example">{"routes":[{"routeName":"Central Park South","routeDurationInMinutes":10,"routeLengthKM":1.026,"routeLengthMiles":0.637526646,"toll":false}],"startPoint":"40.76267793274429 -73.97328385997065","endPoint":"40.762966999999996 -73.973968","startLatitude":"40.76267793274429","startLongitude":"-73.97328385997065","endLatitude":"40.762966999999996","endLongitude":"-73.973968"}</span></div></div><div class="mashape-endpoint active"><span class="mashape-endpoint-name">Routes Directions (coordinates)</span> <span class="mashape-endpoint-method mashape-get">GET</span><p>get routes with directions by latitude and longitude coordinates</p><div class="mashape-endpoint-content"><span class="mashape-endpoint-route"><span>GET</span> /waze/routesXYwithDirections</span><div class="mashape-parameter-header">Route Parameters</div><div class="mashape-parameter"><span class="mashape-parameter-name">endLat</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">end point latitude</span> <span class="mashape-parameter-example">Example:40.762966999999996</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">endLon</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">end point longitude</span> <span class="mashape-parameter-example">Example:-73.973968</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">startLat</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">start point latitude</span> <span class="mashape-parameter-example">Example:40.76267793274429</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">startLon</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">start point longitude</span> <span class="mashape-parameter-example">Example:-73.97328385997065</span></div><div class="mashape-response-header">Response Example</div><span class="mashape-example">{"startPoint":"40.76267793274429 -73.97328385997065","endPoint":"40.762966999999996 -73.973968","endLatitude":"40.762966999999996","endLongitude":"-73.973968","routesWithDirections":[{"routeName":"E 57th St, 5th Ave Manhattan","routeStatus":"OPEN","routeParts":[{"latitude":"40.762288","longitude":"-73.97236099999999","instruction":"TURN_LEFT","streetName":"E 57th St","tollRoad":false,"timeToCrossInSeconds":21,"timeFromStartInSeconds":0,"lengthOfPartInMeters":65},{"latitude":"40.762966999999996","longitude":"-73.973968","instruction":"APPROACHING_DESTINATION","streetName":"5th Ave","tollRoad":false,"timeToCrossInSeconds":0,"timeFromStartInSeconds":21,"lengthOfPartInMeters":0}],"routeStreets":["E 57th St","E 57th St","5th Ave","5th Ave"]}],"latitude":"40.76267793274429","longitude":"-73.97328385997065"}</span></div></div></div><div class="mashape-group"><div class="mashape-group-header">Traffic Notifications</div><div class="mashape-endpoint active"><span class="mashape-endpoint-name">Traffic Notifications</span> <span class="mashape-endpoint-method mashape-get">GET</span><p>Given coordinates (square) get traffic notifications (including jams and alerts)</p><div class="mashape-endpoint-content"><span class="mashape-endpoint-route"><span>GET</span> /waze/traffic-notifications</span><div class="mashape-parameter-header">Route Parameters</div><div class="mashape-parameter"><span class="mashape-parameter-name">latBottom</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">latitude bottom (y)</span> <span class="mashape-parameter-example">Example:40.72892879374242</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">latTop</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">latitude top (y)</span> <span class="mashape-parameter-example">Example:40.733897887617324</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">lonLeft</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">longitude left (x)</span> <span class="mashape-parameter-example">Example:-74.0093457698822</span></div><div class="mashape-parameter"><span class="mashape-parameter-name">lonRight</span> <span class="mashape-parameter-type">STRING</span> <span class="mashape-parameter-condition-required">(querystring) (required)</span> <span class="mashape-parameter-description">longitude right (x)</span> <span class="mashape-parameter-example">Example:-73.98462653160095</span></div><div class="mashape-response-header">Response Example</div><span class="mashape-example">{
"alerts": [
{
"country": "US",
"numOfThumbsUp": 0,
"type": "HAZARD",
"subType": "",
"placeNearBy": "New York",
"latitude": "40.730579",
"longitude": "-73.992401"
},
{
"country": "US",
"numOfThumbsUp": 4,
"type": "HAZARD",
"subType": "HAZARD_ON_ROAD_CONSTRUCTION",
"placeNearBy": null,
"latitude": "40.729154",
"longitude": "-73.992041"
},
{
"country": "US",
"numOfThumbsUp": 0,
"type": "JAM",
"subType": "JAM_MODERATE_TRAFFIC",
"placeNearBy": null,
"latitude": "40.729154",
"longitude": "-73.992041"
},
{
"country": "US",
"numOfThumbsUp": 0,
"type": "JAM",
"subType": "JAM_STAND_STILL_TRAFFIC",
"placeNearBy": null,
"latitude": "40.72924",
"longitude": "-74.00519"
}
],
"jams": [
{
"severity": 2,
"type": "Medium",
"country": "US",
"end": "5th Ave",
"start": null,
"street": "E 66th St",
"startLatitude": "40.767967",
"startLongitude": "-73.968215",
"endLatitude": "40.768646",
"endLongitude": "-73.969825",
"delayInSec": -1
},
{
"severity": 2,
"type": "Medium",
"country": "US",
"end": null,
"start": null,
"street": "65th St Transverse",
"startLatitude": "40.771782",
"startLongitude": "-73.979193",
"endLatitude": "40.771663",
"endLongitude": "-73.977606",
"delayInSec": -1
},
{
"severity": 0,
"type": "Medium",
"country": "US",
"end": "Hudson St",
"start": null,
"street": "Vestry St",
"startLatitude": "40.722958",
"startLongitude": "-74.01147",
"endLatitude": "40.722631",
"endLongitude": "-74.008109",
"delayInSec": 60
},
{
"severity": 2,
"type": "Medium",
"country": "US",
"end": "5th Ave",
"start": null,
"street": "E 69th St",
"startLatitude": "40.769847",
"startLongitude": "-73.966847",
"endLatitude": "40.770517",
"endLongitude": "-73.968441",
"delayInSec": -1
}
]
}</span></div></div></div></div></div>
<script type="text/javascript" src="./test_files/docs.js" async=""></script><script type="text/javascript">
(function (window) {
if (!window._MashapeConfig) window._MashapeConfig = [];
window._MashapeConfig.push({
selector: '#mashape-docs-container-837609771',
user: 'bestApi',
api: 'Waze - Route Calculation'
});
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '//mashape.github.io/embed/docs.js';
script.async = true;
var entry = document.getElementsByTagName('script')[0];
entry.parentNode.insertBefore(script, entry);
}(window));
</script>
</body></html>