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. |
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": "0fbkbsqjdg4--1", "Organization": "Yukon Government", "RoadwayName": "S.Klondike Hwy", "DirectionOfTravel": "Northbound", "Latitude": 60.81277, "Longitude": -135.20552, "Name": "S.Klondike Hwy - km 106.5", "Url": "https://511yukon.ca/map/Cctv/0fbkbsqjdg4--1", "Status": "Enabled", "Description": "Testing Direction facing description from Admin" }, { "Id": "50k4ddfvpmx--1", "Organization": "Yukon Government", "RoadwayName": "N.Klondike/Silver Trail", "DirectionOfTravel": "Northbound", "Latitude": 63.38276, "Longitude": -136.68203, "Name": "N.Klondike/Silver Trail", "Url": "https://511yukon.ca/map/Cctv/50k4ddfvpmx--1", "Status": "Enabled", "Description": "N.Klondike/Silver Trail" } ]
XML
<CamerasList> <Cameras> <Id>0fbkbsqjdg4--1</Id> <Organization>Yukon Government</Organization> <RoadwayName>S.Klondike Hwy</RoadwayName> <DirectionOfTravel>Northbound</DirectionOfTravel> <Latitude>60.81277</Latitude> <Longitude>-135.20552</Longitude> <Name>S.Klondike Hwy - km 106.5</Name> <Url>https://511yukon.ca/map/Cctv/0fbkbsqjdg4--1</Url> <Status>Enabled</Status> <Description>Testing Direction facing description from Admin</Description> </Cameras> <Cameras> <Id>50k4ddfvpmx--1</Id> <Organization>Yukon Government</Organization> <RoadwayName>N.Klondike/Silver Trail</RoadwayName> <DirectionOfTravel>Northbound</DirectionOfTravel> <Latitude>63.38276</Latitude> <Longitude>-136.68203</Longitude> <Name>N.Klondike/Silver Trail</Name> <Url>https://511yukon.ca/map/Cctv/50k4ddfvpmx--1</Url> <Status>Enabled</Status> <Description>N.Klondike/Silver Trail</Description> </Cameras> </CamerasList>