GET Cameras
Returns all cameras.
Request Information
https://511.alberta.ca/api/v2/get/cameras
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
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 |
HasRWISData |
Boolean value represents whether the camera has RWIS data or not. |
boolean |
AirTemperature |
Temperature of the air measured at approximately eight feet above the ground. |
string |
PavementTemperature |
Surface temperature. |
string |
WindSpeed |
The average wind speed over a pre-determined time interval, as sampled from the wind sensor is located approximately 10 meters (30 feet) above the ground. |
string |
WindDirection |
The direction from which the wind is blowing. |
string |
RelativeHumidity |
The ratio of the existing vapor pressure to the saturation vapor pressure with respect to water at the current temperature. |
string |
WeatherUpdated |
Weather last updated. |
string |
Response Formats
JSON
[
{
"Id": "ESS_AB_002-50 KINUSO.C1--1",
"Organization": "511 Alberta",
"RoadwayName": "Hwy 2",
"DirectionOfTravel": "Northbound",
"Latitude": 55.31636944,
"Longitude": -115.4733694,
"Name": "Hwy2: West of Range Road 103",
"Url": "http://localhost:54134/map/Cctv/ESS_AB_002-50 KINUSO.C1--1",
"Status": "Enabled",
"Description": "WB, North side of HWY",
"HasRWISData": true,
"AirTemperature": "-7.8 °C",
"PavementTemperature": "1.6 °C",
"WindSpeed": "6.8 km/h",
"WindDirection": "NW",
"RelativeHumidity": "64%",
"WeatherUpdated": "Mar 24 2020, 1:23 PM"
},
{
"Id": "ESS_AB_216-04 AHDNE HWY16E with Remote --1",
"Organization": "511 Alberta",
"RoadwayName": "Hwy 216",
"DirectionOfTravel": "Unknown",
"Latitude": 53.56865,
"Longitude": -113.34392,
"Name": "Hwy 216 and Hwy 16 Interchange",
"Url": "http://localhost:54134/map/Cctv/ESS_AB_216-04 AHDNE HWY16E with Remote --1",
"Status": "Enabled",
"Description": "WB Ramp, West side of Ramp",
"HasRWISData": false,
"AirTemperature": null,
"PavementTemperature": null,
"WindSpeed": null,
"WindDirection": null,
"RelativeHumidity": null,
"WeatherUpdated": null
}
]
XML
<CamerasList>
<Cameras>
<Id>ESS_AB_002-50 KINUSO.C1--1</Id>
<Organization>511 Alberta</Organization>
<RoadwayName>Hwy 2</RoadwayName>
<DirectionOfTravel>Northbound</DirectionOfTravel>
<Latitude>55.31636944</Latitude>
<Longitude>-115.4733694</Longitude>
<Name>Hwy2: West of Range Road 103</Name>
<Url>http://localhost:54134/map/Cctv/ESS_AB_002-50 KINUSO.C1--1</Url>
<Status>Enabled</Status>
<Description>WB, North side of HWY</Description>
<HasRWISData>true</HasRWISData>
<AirTemperature>-7.8 °C</AirTemperature>
<PavementTemperature>1.6 °C</PavementTemperature>
<WindSpeed>6.8 km/h</WindSpeed>
<WindDirection>NW</WindDirection>
<RelativeHumidity>64%</RelativeHumidity>
<WeatherUpdated>Mar 24 2020, 1:23 PM</WeatherUpdated>
</Cameras>
<Cameras>
<Id>ESS_AB_216-04 AHDNE HWY16E with Remote --1</Id>
<Organization>511 Alberta</Organization>
<RoadwayName>Hwy 216</RoadwayName>
<DirectionOfTravel>Unknown</DirectionOfTravel>
<Latitude>53.56865</Latitude>
<Longitude>-113.34392</Longitude>
<Name>Hwy 216 and Hwy 16 Interchange</Name>
<Url>http://localhost:54134/map/Cctv/ESS_AB_216-04 AHDNE HWY16E with Remote --1</Url>
<Status>Enabled</Status>
<Description>WB Ramp, West side of Ramp</Description>
<HasRWISData>false</HasRWISData>
<AirTemperature/>
<PavementTemperature/>
<WindSpeed/>
<WindDirection/>
<RelativeHumidity/>
<WeatherUpdated/>
</Cameras>
</CamerasList>