Traveler Information API
 All Classes Functions Variables Properties Pages
Public Member Functions | List of all members
TrafficFlow Class Reference

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. More...

Inheritance diagram for TrafficFlow:
ITrafficFlow

Public Member Functions

FlowData[] GetTrafficFlows (string AccessCode)
 Retrieves an array containing all TrafficFlow data. More...
 
System.Data.DataSet GetTrafficFlowsAsDataSet (string AccessCode)
 Retrieves a dataset containing all TrafficFlow data. More...
 
FlowData[] SearchTrafficFlows (string AccessCode, string StateRoute, string Region, DateTime?SearchStartTime, DateTime?SearchEndTime, double?StartingMilepost, double?EndingMilepost)
 Searches Traffic Flow data for records matching specific parameters. More...
 
FlowData GetTrafficFlow (string AccessCode, int FlowDataID)
 Retrieve the current condition for a specific TrafficFlow station. More...
 

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.