GET Weather Stations
Returns all weather stations.
Request Information
https://511.alberta.ca/api/v2/get/weatherstations
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. |
integer |
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 |
LastUpdated |
The date the item's details were last updated in Unix time. More information |
integer |
CameraId |
Camera Identification. |
string |
AirTemperature |
The temperature in fahrenheit of the air measured at approximately eight feet above the ground. For example: 42.8 °F |
string |
PavementTemperature |
Surface temperature in fahrenheit. For example: 44.6 °F |
string |
WindSpeed |
Speed of wind |
string |
WindDirection |
Direction of wind flow |
string |
RelativeHumidity |
The ratio in percentage of the existing vapor pressure to the saturation vapor pressure with respect to water at the current temperature. For example: 26 % |
string |
Response Formats
JSON
[
{
"Id": 11426,
"Latitude": 50.8339,
"Longitude": -112.784,
"LastUpdated": 1732543808,
"CameraId": "72",
"AirTemperature": "-20.1",
"PavementTemperature": "-13.6",
"WindSpeed": "1.1",
"WindDirection": "100",
"RelativeHumidity": "88"
},
{
"Id": 11425,
"Latitude": 51.0381,
"Longitude": -113.714,
"LastUpdated": 1732543808,
"CameraId": "71",
"AirTemperature": "-21.7",
"PavementTemperature": "-16.5",
"WindSpeed": "7.2",
"WindDirection": "161",
"RelativeHumidity": "86"
}
]
XML
<WeatherStationsList>
<WeatherStations>
<Id>11423</Id>
<Latitude>51.0405</Latitude>
<Longitude>-115.246</Longitude>
<LastUpdated>1732544711</LastUpdated>
<CameraId>69</CameraId>
<AirTemperature>-14.2</AirTemperature>
<PavementTemperature>-12.1</PavementTemperature>
<WindSpeed>11.9</WindSpeed>
<WindDirection>208</WindDirection>
<RelativeHumidity>90</RelativeHumidity>
</WeatherStations>
<WeatherStations>
<Id>11424</Id>
<Latitude>51.0873</Latitude>
<Longitude>-114.492</Longitude>
<LastUpdated>1732545911</LastUpdated>
<CameraId>70</CameraId>
<AirTemperature>-21.9</AirTemperature>
<PavementTemperature>-15.9</PavementTemperature>
<WindSpeed>4.0</WindSpeed>
<WindDirection>295</WindDirection>
<RelativeHumidity>87</RelativeHumidity>
</WeatherStations>
</WeatherStationsList>