GET Cameras
Returns all cameras.
Request Information
https://az511.com/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. |
integer |
Source |
The name of the source that provided this camera. |
string |
SourceId |
The source id of the camera. |
string |
Roadway |
The roadway on which this camera is located. |
string |
Direction |
The wind direction at the time of reported maximum wind speed over the last 10 minutes |
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 |
Location |
The location of the camera. |
string |
SortOrder |
Given sort order for camera |
integer |
Views |
Display all camera views. |
object |
Response Formats
JSON
[
{
"Id": 2056,
"Source": "AZDOT",
"SourceId": "2bf8fc21-3cb8-4dda-bb70-d1c8786a9dc3",
"Roadway": "SR-95",
"Direction": "Unknown",
"Latitude": 35.172449,
"Longitude": -114.566108,
"Location": "SR-95 @SR68 Laughlin Rd",
"SortOrder": 0,
"Views": [
{
"Id": 960,
"Url": "https://az511.com/map/Cctv/960",
"Status": "Enabled",
"Description": "SR-95 NB 249.80 @SR68 Laughlin Rd"
}
]
},
{
"Id": 2057,
"Source": "AZDOT",
"SourceId": "d2e59446-cc9f-4de1-b7d9-46ee3c5793bc",
"Roadway": "SR-389",
"Direction": "Unknown",
"Latitude": 36.9590711000001,
"Longitude": -112.9661646,
"Location": "SR-389 @MP3.3",
"SortOrder": 0,
"Views": [
{
"Id": 961,
"Url": "https://az511.com/map/Cctv/961",
"Status": "Enabled",
"Description": "SR-389 SB 3.30 @MP3.3"
}
]
}
]
XML
<CamerasList>
<Cameras>
<Id>2056</Id>
<Source>AZDOT</Source>
<SourceId>2bf8fc21-3cb8-4dda-bb70-d1c8786a9dc3</SourceId>
<Roadway>SR-95</Roadway>
<Direction>Unknown</Direction>
<Latitude>35.172449</Latitude>
<Longitude>-114.566108</Longitude>
<Location>SR-95 @SR68 Laughlin Rd</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>960</Id>
<Url>https://az511.com/map/Cctv/960</Url>
<Status>Enabled</Status>
<Description>SR-95 NB 249.80 @SR68 Laughlin Rd</Description>
</View>
</Views>
</Cameras>
<Cameras>
<Id>2057</Id>
<Source>AZDOT</Source>
<SourceId>d2e59446-cc9f-4de1-b7d9-46ee3c5793bc</SourceId>
<Roadway>SR-389</Roadway>
<Direction>Unknown</Direction>
<Latitude>36.9590711000001</Latitude>
<Longitude>-112.9661646</Longitude>
<Location>SR-389 @MP3.3</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>961</Id>
<Url>https://az511.com/map/Cctv/961</Url>
<Status>Enabled</Status>
<Description>SR-389 SB 3.30 @MP3.3</Description>
</View>
</Views>
</Cameras>
</CamerasList>