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 |
CameraSource |
Name of the camera source associated with this weather station. |
string |
CameraSourceId |
Source id of the camera associated with this weather station. |
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": 11423,
"Latitude": 51.0405,
"Longitude": -115.246,
"LastUpdated": 1748611380,
"CameraSource": "WOOD",
"CameraSourceId": "001-02",
"AirTemperature": "12.1",
"PavementTemperature": "14.71",
"WindSpeed": "8.3",
"WindDirection": "224",
"RelativeHumidity": "56"
},
{
"Id": 11424,
"Latitude": 51.0873,
"Longitude": -114.492,
"LastUpdated": 1748611500,
"CameraSource": "WOOD",
"CameraSourceId": "001-06",
"AirTemperature": "10.3",
"PavementTemperature": "14.01",
"WindSpeed": "1.1",
"WindDirection": "354",
"RelativeHumidity": "84"
}
]
XML
<WeatherStationsList>
<WeatherStations>
<Id>11423</Id>
<Latitude>51.0405</Latitude>
<Longitude>-115.246</Longitude>
<LastUpdated>1748611380</LastUpdated>
<CameraSource>WOOD</CameraSource>
<CameraSourceId>001-02</CameraSourceId>
<AirTemperature>12.1</AirTemperature>
<PavementTemperature>14.71</PavementTemperature>
<WindSpeed>8.3</WindSpeed>
<WindDirection>224</WindDirection>
<RelativeHumidity>56</RelativeHumidity>
</WeatherStations>
<WeatherStations>
<Id>11424</Id>
<Latitude>51.0873</Latitude>
<Longitude>-114.492</Longitude>
<LastUpdated>1748611800</LastUpdated>
<CameraSource>WOOD</CameraSource>
<CameraSourceId>001-06</CameraSourceId>
<AirTemperature>10.7</AirTemperature>
<PavementTemperature>14.31</PavementTemperature>
<WindSpeed>1.4</WindSpeed>
<WindDirection>57</WindDirection>
<RelativeHumidity>85</RelativeHumidity>
</WeatherStations>
</WeatherStationsList>