GET Weather Stations

Returns all weather stations.

Request Information

https://www.nvroads.com/api/v2/get/weatherstations

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
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
StationName

The name of the weather station.

string
DeviceName

The name of the device.

string
AirTemperature

The temperature in fahrenheit of the air measured at approximately eight feet above the ground. For example: 42.8 °F

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
Rain

The posibility of rainfall

string
Dewpoint

The temperature in fahrenheit at which the air is fully saturated with moisture as it cools. For example: 42.8 °F

string
Wind

The sustained wind speed in mile per hour. For example: 13.42 mph

string
WindGust

The average wind speed in mile per hour over a pre-determined time interval, as sampled from the wind sensor is located approximately 10 meters (30 feet) above the ground. For example: 17.9 mph

string
LastUpdated

The date the item's details were last updated in Unix time. More information

integer
WindDirection

The direction for the wind value. Possible values are: N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW

string
WindGustDirection

The direction for the wind gust value. Possible values are: N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW

string

Response Formats

JSON

Sample:
[
  {
    "Id": -1973228630,
    "Latitude": 40.888401,
    "Longitude": -117.909202,
    "StationName": "D3-NV019",
    "DeviceName": "I-80 Rose Creek MM167",
    "AirTemperature": 59.4,
    "RelativeHumidity": 32.0,
    "Rain": false,
    "Dewpoint": 29.8,
    "Wind": 0,
    "WindGust": 0,
    "LastUpdated": 1665678840,
    "WindDirection": "ENE",
    "WindGustDirection": "ENE"
  },
  {
    "Id": -1619581526,
    "Latitude": 39.497299,
    "Longitude": -116.507301,
    "StationName": "D3-NV033",
    "DeviceName": "US-50 Bean Flats EU 5",
    "AirTemperature": 50.9,
    "RelativeHumidity": 29.0,
    "Rain": false,
    "Dewpoint": 20.1,
    "Wind": 3,
    "WindGust": 5,
    "LastUpdated": 1665678840,
    "WindDirection": "N",
    "WindGustDirection": "N"
  }
]

XML

Sample:
<WeatherStationsList>
	<WeatherStations>
		<Id>-1973228630</Id>
		<Latitude>40.888401</Latitude>
		<Longitude>-117.909202</Longitude>
		<StationName>D3-NV019</StationName>
		<DeviceName>I-80 Rose Creek MM167</DeviceName>
		<AirTemperature>59.4</AirTemperature>
		<RelativeHumidity>32</RelativeHumidity>
		<Rain>false</Rain>
		<Dewpoint>29.8</Dewpoint>
		<Wind>0</Wind>
		<WindGust>0</WindGust>
		<LastUpdated>1665678840</LastUpdated>
		<WindDirection>ENE</WindDirection>
		<WindGustDirection>ENE</WindGustDirection>
	</WeatherStations>
	<WeatherStations>
		<Id>-1619581526</Id>
		<Latitude>39.497299</Latitude>
		<Longitude>-116.507301</Longitude>
		<StationName>D3-NV033</StationName>
		<DeviceName>US-50 Bean Flats EU 5</DeviceName>
		<AirTemperature>50.9</AirTemperature>
		<RelativeHumidity>29</RelativeHumidity>
		<Rain>false</Rain>
		<Dewpoint>20.1</Dewpoint>
		<Wind>3</Wind>
		<WindGust>5</WindGust>
		<LastUpdated>1665678840</LastUpdated>
		<WindDirection>N</WindDirection>
		<WindGustDirection>N</WindGustDirection>
	</WeatherStations>
</WeatherStationsList>