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

Public Member Functions

Camera[] GetCameras (string AccessCode)
 
System.Data.DataSet GetCamerasAsDataSet (string AccessCode)
 
Camera[] SearchCameras (string AccessCode, string StateRoute, string Region, double?StartingMilepost, double?EndingMilepost)
 
Camera GetCamera (string AccessCode, int CameraID)
 

Detailed Description

Coverage Area: Statewide. Provides access to the camera images that appear on our Traffic pages. Currently only supports snap shots (not full video). The available cameras does not change very often.

Member Function Documentation

Camera HighwayCameras.GetCamera ( string  AccessCode,
int  CameraID 
)
inline

Returns a single specific camera.

Parameters
AccessCodeYour Traveler API Access Code.
CameraIDAn ID of a specific camera.
Returns
Camera

Implements IHighwayCameras.

Camera [] HighwayCameras.GetCameras ( string  AccessCode)
inline

Retrieves all Traffic Cameras.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
Camera array

Implements IHighwayCameras.

System.Data.DataSet HighwayCameras.GetCamerasAsDataSet ( string  AccessCode)
inline

Retrieves all Traffic Cameras.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
dataset

Implements IHighwayCameras.

Camera [] HighwayCameras.SearchCameras ( string  AccessCode,
string  StateRoute,
string  Region,
double?  StartingMilepost,
double?  EndingMilepost 
)
inline

Searches for cameras that match a specific criteria.

Parameters
AccessCodeYour Traveler API Access Code.
StateRouteThe state route of the camera.
RegionThe region of the camera. Call 'GetCameras' to get a list of valid options.
StartingMilepostStarting milepost.
EndingMilepostEnding Milepost.
Returns
Camera[]

Implements IHighwayCameras.