GET Cameras
Returns all cameras.
Request Information
https://511yukon.ca/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 |
lang |
Valid values are 'en' or 'fr', default 'en'. |
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 |
|
integer |
Views |
Display all camera views. |
object |
Response Formats
JSON
[
{
"Id": 1,
"Source": "Yukon Government",
"SourceId": "0fbkbsqjdg4",
"Roadway": "S.Klondike Hwy",
"Direction": "Unknown",
"Latitude": 60.17487,
"Longitude": -134.70532,
"Location": "S.Klondike Hwy - km 106.5",
"SortOrder": 0,
"Views": [
{
"Id": 1,
"Url": "https://511yukon.ca/map/Cctv/1",
"Status": "Enabled",
"Description": " "
}
]
}
]
XML
<CamerasList>
<Cameras>
<Id>1</Id>
<Source>Yukon Government</Source>
<SourceId>0fbkbsqjdg4</SourceId>
<Roadway>S.Klondike Hwy</Roadway>
<Direction>Unknown</Direction>
<Latitude>60.17487</Latitude>
<Longitude>-134.70532</Longitude>
<Location>S.Klondike Hwy - km 106.5</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>1</Id>
<Url>https://511yukon.ca/map/Cctv/1</Url>
<Status>Enabled</Status>
<Description> </Description>
</View>
</Views>
</Cameras>
</CamerasList>