Traveler Information API
Loading...
Searching...
No Matches
Highway Cameras

Classes

class  HighwayCameras
 
class  Camera
 

Functions

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

Detailed Description

Cameras available on state highways

Function Documentation

◆ GetCamera()

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

◆ GetCameras()

Camera[] HighwayCameras.GetCameras ( string  AccessCode)

Retrieves all Traffic Cameras.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
Camera array

◆ GetCamerasAsDataSet()

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

Retrieves all Traffic Cameras.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
dataset

◆ SearchCameras()

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[]