GET Cameras
Returns all cameras.
Request Information
https://511wi.gov/api/v2/get/cameras
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 |
Organization |
The name of the organization that provided this camera. |
string |
RoadwayName |
The roadway on which this camera is located. |
string |
DirectionOfTravel |
One of the following directions of travel: None, All Directions, Northbound, Eastbound, Southbound, Westbound, Inbound, Outbound, Both Directions. |
string |
Latitude |
The latitude describing the location. Format: double between -90 and 90. |
double |
Longitude |
The longitude describing the location. Format: double between -180 and 180. |
double |
Name |
A name assigned to the camera. It will contain a fairly good description of the location where the camera is deployed. |
string |
Url |
The URL to fetch the camera image. |
string |
Status |
The status of the camera. |
string |
Description |
Additional information about a camera. |
string |
Response Formats
JSON
[ { "Id": "1rg1rw33qfa--1", "Organization": "MILWAUKEE", "RoadwayName": "I-94", "DirectionOfTravel": "Unknown", "Latitude": 43.031969, "Longitude": -87.957469, "Name": " I-94 at 35th St", "Url": "http://511wi.gov/map/Cctv/1rg1rw33qfa--1", "Status": "Enabled", "Description": "CCTV-40-0222" }, { "Id": "1trn3wkzsja--1", "Organization": "MILWAUKEE", "RoadwayName": "I-41", "DirectionOfTravel": "Unknown", "Latitude": 44.407384, "Longitude": -88.142952, "Name": "I-41 at Larry Ln", "Url": "http://511wi.gov/map/Cctv/1trn3wkzsja--1", "Status": "Enabled", "Description": "CCTV-05-0099" } ]
XML
<CamerasList> <Cameras> <Id>1rg1rw33qfa--1</Id> <Organization>MILWAUKEE</Organization> <RoadwayName>I-94</RoadwayName> <DirectionOfTravel>Unknown</DirectionOfTravel> <Latitude>43.031969</Latitude> <Longitude>-87.957469</Longitude> <Name> I-94 at 35th St</Name> <Url>http://511wi.gov/map/Cctv/1rg1rw33qfa--1</Url> <Status>Enabled</Status> <Description>CCTV-40-0222</Description> </Cameras> <Cameras> <Id>1trn3wkzsja--1</Id> <Organization>MILWAUKEE</Organization> <RoadwayName>I-41</RoadwayName> <DirectionOfTravel>Unknown</DirectionOfTravel> <Latitude>44.407384</Latitude> <Longitude>-88.142952</Longitude> <Name>I-41 at Larry Ln</Name> <Url>http://511wi.gov/map/Cctv/1trn3wkzsja--1</Url> <Status>Enabled</Status> <Description>CCTV-05-0099</Description> </Cameras> </CamerasList>