GET Cameras
Returns all cameras.
Request Information
https://511.idaho.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": "100.C1--2",
"Organization": "ITD",
"RoadwayName": "SH-75",
"DirectionOfTravel": "Unknown",
"Latitude": 43.5946,
"Longitude": -114.345,
"Name": "SH-75 Wood River",
"Url": "https://511.idaho.gov/map/Cctv/100.C1--2",
"Status": "Enabled",
"Description": "N/A"
},
{
"Id": "100.C2--2",
"Organization": "ITD",
"RoadwayName": "SH-75",
"DirectionOfTravel": "Unknown",
"Latitude": 43.5946,
"Longitude": -114.345,
"Name": "SH-75 Wood River",
"Url": "https://511.idaho.gov/map/Cctv/100.C2--2",
"Status": "Enabled",
"Description": "N/A"
}
]
XML
<CamerasList>
<Cameras>
<Id>100.C1--2</Id>
<Organization>ITD</Organization>
<RoadwayName>SH-75</RoadwayName>
<DirectionOfTravel>Unknown</DirectionOfTravel>
<Latitude>43.5946</Latitude>
<Longitude>-114.345</Longitude>
<Name>SH-75 Wood River</Name>
<Url>https://511.idaho.gov/map/Cctv/100.C1--2</Url>
<Status>Enabled</Status>
<Description>N/A</Description>
</Cameras>
<Cameras>
<Id>100.C2--2</Id>
<Organization>ITD</Organization>
<RoadwayName>SH-75</RoadwayName>
<DirectionOfTravel>Unknown</DirectionOfTravel>
<Latitude>43.5946</Latitude>
<Longitude>-114.345</Longitude>
<Name>SH-75 Wood River</Name>
<Url>https://511.idaho.gov/map/Cctv/100.C2--2</Url>
<Status>Enabled</Status>
<Description>N/A</Description>
</Cameras>
</CamerasList>