GET Cameras
Returns all cameras.
Request Information
https://511la.org/api/v2/get/cameras
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Id |
A unique identifier. |
string |
Organization |
The name of the organization that provided this camera. |
string |
RoadwayName |
The roadway on which this camera is located. |
string |
DirectionOfTravel |
One of the following directions of travel: None, All Directions, Northbound, Eastbound, Southbound, Westbound, Inbound, Outbound, Both Directions. |
string |
Latitude |
The latitude describing the location. Format: double between -90 and 90. |
double |
Longitude |
The longitude describing the location. Format: double between -180 and 180. |
double |
Name |
A name assigned to the camera. It will contain a fairly good description of the location where the camera is deployed. |
string |
Url |
The URL to fetch the camera image. |
string |
VideoUrl |
The URL to fetch the camera live video stream. |
string |
Status |
The status of the camera. |
string |
Description |
Additional information about a camera. |
string |
Response Formats
JSON
[ { "Id": "100--1", "Organization": "DOTD", "RoadwayName": "I-20", "DirectionOfTravel": "Northbound", "Latitude": 32.538889, "Longitude": -93.630833, "Name": "I-20 at I-220 Off Ramp", "Url": "https://511la.org/map/Cctv/100--1", "VideoUrl": "https://ITSStreamingBR2.dotd.la.gov/public/shr-cam-030.streams/playlist.m3u8", "Status": "Enabled", "Description": "Traffic closest to this camera is traveling eastbound on I-20." }, { "Id": "101--1", "Organization": "DOTD", "RoadwayName": "I-20", "DirectionOfTravel": "Northbound", "Latitude": 32.4609, "Longitude": -93.83, "Name": "I-20 at Monkhouse Drive", "Url": "https://511la.org/map/Cctv/101--1", "VideoUrl": "https://ITSStreamingBR2.dotd.la.gov/public/shr-cam-002.streams/playlist.m3u8", "Status": "Enabled", "Description": "Traffic closest to this camera is traveling eastbound on I-20." } ]
XML
<CamerasList> <Cameras> <Id>100--1</Id> <Organization>DOTD</Organization> <RoadwayName>I-20</RoadwayName> <DirectionOfTravel>Northbound</DirectionOfTravel> <Latitude>32.538889</Latitude> <Longitude>-93.630833</Longitude> <Name>I-20 at I-220 Off Ramp</Name> <Url>https://511la.org/map/Cctv/100--1</Url> <VideoUrl> https://ITSStreamingBR2.dotd.la.gov/public/shr-cam-030.streams/playlist.m3u8 </VideoUrl> <Status>Enabled</Status> <Description> Traffic closest to this camera is traveling eastbound on I-20. </Description> </Cameras> <Cameras> <Id>101--1</Id> <Organization>DOTD</Organization> <RoadwayName>I-20</RoadwayName> <DirectionOfTravel>Northbound</DirectionOfTravel> <Latitude>32.4609</Latitude> <Longitude>-93.83</Longitude> <Name>I-20 at Monkhouse Drive</Name> <Url>https://511la.org/map/Cctv/101--1</Url> <VideoUrl> https://ITSStreamingBR2.dotd.la.gov/public/shr-cam-002.streams/playlist.m3u8 </VideoUrl> <Status>Enabled</Status> <Description> Traffic closest to this camera is traveling eastbound on I-20. </Description> </Cameras> </CamerasList>