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

Public Member Functions

FlowData[] GetTrafficFlows (string AccessCode)
 
System.Data.DataSet GetTrafficFlowsAsDataSet (string AccessCode)
 
FlowData[] SearchTrafficFlows (string AccessCode, string StateRoute, string Region, DateTime?SearchStartTime, DateTime?SearchEndTime, double?StartingMilepost, double?EndingMilepost)
 
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

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

Implements ITrafficFlow.

FlowData [] TrafficFlow.GetTrafficFlows ( string  AccessCode)
inline

Retrieves an array containing all TrafficFlow data.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
FlowData[]

Implements ITrafficFlow.

System.Data.DataSet TrafficFlow.GetTrafficFlowsAsDataSet ( string  AccessCode)
inline

Retrieves a dataset containing all TrafficFlow data.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
DataSet

Implements ITrafficFlow.

FlowData [] TrafficFlow.SearchTrafficFlows ( string  AccessCode,
string  StateRoute,
string  Region,
DateTime?  SearchStartTime,
DateTime?  SearchEndTime,
double?  StartingMilepost,
double?  EndingMilepost 
)
inline

Searches Traffic Flow data for records matching specific parameters.

Parameters
AccessCodeYour Traveler API Access Code.
StateRoute
RegionValid options are : eastern, north central, northwest, olympic, south central, southwest
SearchStartTimeLook for records newer than this time.
SearchEndTimeLook for records older than this time.
StartingMilepostLook for stations located after this milepost.
EndingMilepostLook for stations located before this milepost.
Returns

Implements ITrafficFlow.