Traveler Information API
 All Classes Functions Variables Properties
Public Member Functions
HighwayCameras Class Reference

Coverage Area: Statewide. Provides access to the camera images that appear on our Traffic pages. Currently only supports snap shots (not full video). More...

Inheritance diagram for HighwayCameras:
IHighwayCameras

List of all members.

Public Member Functions

Camera[] GetCameras (string AccessCode)
 Retrieves all Traffic Cameras.
System.Data.DataSet GetCamerasAsDataSet (string AccessCode)
 Retrieves all Traffic Cameras.
Camera[] SearchCameras (string AccessCode, string StateRoute, string Region, double?StartingMilepost, double?EndingMilepost)
 Searches for cameras that match a specific criteria.
Camera GetCamera (string AccessCode, int CameraID)
 Returns a single specific camera.

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


Member Function Documentation

Camera HighwayCameras.GetCamera ( string  AccessCode,
int  CameraID 
)

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)

Retrieves all Traffic Cameras.

Parameters:
AccessCodeYour Traveler API Access Code.
Returns:
Camera array

Implements IHighwayCameras.

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

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 
)

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.