GET Travel Times
Returns all travel times.
Request Information
https://511wi.gov/api/v2/get/traveltimes
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Id |
A unique identifier. |
string |
RoadwayName |
The roadway for travel times. |
string |
Description |
Upstream and downstream location information of the roadway. |
string |
Distance |
The length of the roadway in miles. |
double |
NormalTime |
The travel time under normal conditions in minutes. |
decimal |
CurrentTime |
The most recent travel time in minutes. |
decimal |
Delay |
The increase in minutes from the normal travel time. |
decimal |
Region |
The region of the roadway. |
string |
StartLatitude |
|
double |
StartLongitude |
|
double |
EndLatitude |
|
double |
EndLongitude |
|
double |
Response Formats
JSON
[ { "Id":"STOC-Milwaukee::3840", "RoadwayName":"I-39/90", "Description":"PCMS 1042 I-39/90 NB N of Racine St to WIS 73", "Distance":14.7, "NormalTime":13.0,"CurrentTime":13.0,"Delay":0.0, "Region":"Rock", "StartLatitude":42.676873, "StartLongitude":-88.983493, "EndLatitude":42.872622, "EndLongitude":-89.054982999999993 } ]
XML
<traveltimesList> <traveltimes> <Id>STOC-Milwaukee::3840</Id> <RoadwayName>I-39/90</RoadwayName> <Description>PCMS 1042 I-39/90 NB N of Racine St to WIS 73</Description> <Distance>14.7</Distance> <NormalTime>13</NormalTime> <CurrentTime>13</CurrentTime> <Delay>0</Delay> <Region>Rock</Region> <StartLatitude>42.676873</StartLatitude> <StartLongitude>-88.983493</StartLongitude> <EndLatitude>42.872622</EndLatitude> <EndLongitude>-89.054982999999993</EndLongitude> </traveltimes> </traveltimesList>