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

Public Member Functions

FlowData[] GetTrafficFlows (string AccessCode)
 
System.Data.DataSet GetTrafficFlowsAsDataSet (string AccessCode)
 
FlowData GetTrafficFlow (string AccessCode, int FlowDataID)
 

Detailed Description

Coverage Area: Vancouver, Olympia, Tacoma, Seattle, Spokane. Data is provided by regional Traffic Management Centers. Provides real-time data on our Traffic Flow sensor for the entire state. Possible conditions include ‘Unknown’, ‘WideOpen’, ‘Moderate’, ‘Heavy’, ‘StopAndGo’, ‘NoData’. In most cases, this data will be updated every 90 seconds.

Member Function Documentation

FlowData TrafficFlow.GetTrafficFlow ( string  AccessCode,
int  FlowDataID 
)
inline

Searches Traffic Flow data for records matching specific parameters. Currently only data for Eastern region is available

Parameters
AccessCodeYour Traveler API Access Code.
StateRouteOptional, In the format NNN, i.e. 005, 090, 520
RegionOptional, Valid options are : eastern, north central, northwest, olympic, south central, southwest
SearchStartTimeOptional, Look for records newer than this time.
SearchEndTimeOptional, Look for records older than this time.
StartingMilepostOptional, Look for stations located after this milepost.
EndingMilepostOptional, Look for stations located before this milepost.
Returns

Retrieve the current condition for a specific TrafficFlow station.

Parameters
AccessCodeYour Traveler API Access Code.
FlowDataIDThe ID of the station you wish to retrieve.
Returns
FlowData
FlowData [] TrafficFlow.GetTrafficFlows ( string  AccessCode)
inline

Retrieves an array containing all TrafficFlow data.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
FlowData[]
System.Data.DataSet TrafficFlow.GetTrafficFlowsAsDataSet ( string  AccessCode)
inline

Retrieves a dataset containing all TrafficFlow data.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
DataSet