Traveler Information API
 All Classes Functions Variables Properties
Public Member Functions
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

List of all members.

Public Member Functions

FlowData[] GetTrafficFlows (string AccessCode)
 Retrieves an array containing all TrafficFlow data.
System.Data.DataSet GetTrafficFlowsAsDataSet (string AccessCode)
 Retrieves a dataset containing all TrafficFlow data.
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.
FlowData GetTrafficFlow (string AccessCode, int FlowDataID)
 Retrieve the current condition for a specific TrafficFlow station.

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 
)

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)

Retrieves an array containing all TrafficFlow data.

Parameters:
AccessCodeYour Traveler API Access Code.
Returns:
FlowData[]

Implements ITrafficFlow.

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

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 
)

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.