Traveler Information API
WeatherInformation Class Reference
+ Inheritance diagram for WeatherInformation:

Public Member Functions

WeatherInfo[] GetCurrentWeatherInformation (string AccessCode)
 
WeatherInfo[] SearchWeatherInformation (string AccessCode, int StationID, DateTime SearchStartTime, DateTime SearchEndTime)
 
WeatherInfo GetCurrentWeatherInformationByStationID (string AccessCode, int StationID)
 
WeatherInfo[] GetCurrentWeatherForStations (string AccessCode, string StationList)
 

Detailed Description

Returns current weather information from weather stations that are run by the Washington State Department of Transportation

Member Function Documentation

WeatherInfo [] WeatherInformation.GetCurrentWeatherForStations ( string  AccessCode,
string  StationList 
)
inline
WeatherInfo [] WeatherInformation.GetCurrentWeatherInformation ( string  AccessCode)
inline

Returns the most recent reading from each weather station

Parameters
AccessCodeYour Traveler API Access Code.
Returns
WeatherInfo array
WeatherInfo WeatherInformation.GetCurrentWeatherInformationByStationID ( string  AccessCode,
int  StationID 
)
inline

Gets the most recent weather report from the chosen station

Parameters
AccessCodeYour Traveler API Access Code.kokkkikilsdkjfasdflkj
StationID
Returns
WeatherInfo [] WeatherInformation.SearchWeatherInformation ( string  AccessCode,
int  StationID,
DateTime  SearchStartTime,
DateTime  SearchEndTime 
)
inline

Returns all readings between the two given times for the chosen station, up to a week max.

Parameters
AccessCodeYour Traveler API Access Code.
StationID
SearchStartTime
SearchEndTime
Returns