ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
121 lines (75 loc) • 3.52 kB
Markdown
# Highway Cameras
| Column | Column | Column |
| --- | --- | --- |
| Classes | |
| class | [HighwayCameras](class_highway_cameras.html) |
| | |
| class | [Camera](class_camera.html) |
| | |
| Column | Column | Column |
| --- | --- | --- |
| Functions | |
| [Camera](class_camera.html)[] | [HighwayCameras.GetCameras](group___highway_cameras.html#ga1de36ad3aef923a97f49b7f69e3518f3) (string AccessCode) |
| | |
| System.Data.DataSet | [HighwayCameras.GetCamerasAsDataSet](group___highway_cameras.html#ga702b22fc55ae448ee1a7a92324eeacdb) (string AccessCode) |
| | |
| [Camera](class_camera.html)[] | [HighwayCameras.SearchCameras](group___highway_cameras.html#gafb937f184dc48cc5ba39b6bc5bf94596) (string AccessCode, string StateRoute, string Region, double? StartingMilepost, double? EndingMilepost) |
| | |
| [Camera](class_camera.html) | [HighwayCameras.GetCamera](group___highway_cameras.html#ga49b694ceb32ec9b665fc2ef42f09c13a) (string AccessCode, int CameraID) |
| | |
## Detailed Description
Cameras available on state highways
## Function Documentation
## [◆](#ga49b694ceb32ec9b665fc2ef42f09c13a)GetCamera()
| Column | Column | Column | Column | Column |
| --- | --- | --- | --- | --- |
| [Camera](class_camera.html) HighwayCameras.GetCamera | ( | string | *AccessCode*, |
| | | int | *CameraID* |
| | ) | | |
Returns a single specific camera.
**Parameters:**
| Parameter | Description |
| --- | --- |
| AccessCode | Your Traveler API Access Code. |
| CameraID | An ID of a specific camera. |
**Returns:** [Camera](class_camera.html "Information about traffic camera.")
## [◆](#ga1de36ad3aef923a97f49b7f69e3518f3)GetCameras()
| Column | Column | Column | Column | Column | Column | Column |
| --- | --- | --- | --- | --- | --- | --- |
| [Camera](class_camera.html)[] HighwayCameras.GetCameras | ( | string | *AccessCode* | ) | |
Retrieves all Traffic Cameras.
**Parameters:**
| Parameter | Description |
| --- | --- |
| AccessCode | Your Traveler API Access Code. |
**Returns:** [Camera](class_camera.html "Information about traffic camera.") array
## [◆](#ga702b22fc55ae448ee1a7a92324eeacdb)GetCamerasAsDataSet()
| Column | Column | Column | Column | Column | Column | Column |
| --- | --- | --- | --- | --- | --- | --- |
| System.Data.DataSet HighwayCameras.GetCamerasAsDataSet | ( | string | *AccessCode* | ) | |
Retrieves all Traffic Cameras.
**Parameters:**
| Parameter | Description |
| --- | --- |
| AccessCode | Your Traveler API Access Code. |
**Returns:** dataset
## [◆](#gafb937f184dc48cc5ba39b6bc5bf94596)SearchCameras()
| Column | Column | Column | Column | Column |
| --- | --- | --- | --- | --- |
| [Camera](class_camera.html)[] HighwayCameras.SearchCameras | ( | string | *AccessCode*, |
| | | string | *StateRoute*, |
| | | string | *Region*, |
| | | double? | *StartingMilepost*, |
| | | double? | *EndingMilepost* |
| | ) | | |
Searches for cameras that match a specific criteria.
**Parameters:**
| Parameter | Description |
| --- | --- |
| AccessCode | Your Traveler API Access Code. |
| StateRoute | The state route of the camera. |
| Region | The region of the camera. Call 'GetCameras' to get a list of valid options. |
| StartingMilepost | Starting milepost. |
| EndingMilepost | Ending Milepost. |
**Returns:** [Camera](class_camera.html "Information about traffic camera.")[]
* Generated by [](https://www.doxygen.org/index.html) 1.9.5