GET Cameras

Returns all cameras.

Request Information

https://511.idaho.gov/api/v2/get/cameras

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
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
Status

The status of the camera.

string
Description

Additional information about a camera.

string
AirTemperature

The temperature in fahrenheit of the air measured at approximately eight feet above the ground. For example: 24.1 °F

double
SurfaceTemperature

Surface temperature.

double
WindSpeed

The average wind speed in mile per hour over a pre-determined time interval, as sampled from the wind sensor is located approximately 10 meters (30 feet) above the ground. For example: 2.7 m/h

double
WindDirection

The direction from which the wind is blowing.

string
RelativeHumidity

The ratio in percentage of the existing vapor pressure to the saturation vapor pressure with respect to water at the currect temperature. For example: 64%

double
WeatherUpdated

Weather last updated.

string

Response Formats

JSON

Sample:
[
	{
		"Id": "10.C1--2",
		"Organization": "ITD",
		"RoadwayName": "I-15",
		"DirectionOfTravel": "Unknown",
		"Latitude": 42.0011,
		"Longitude": -112.198,
		"Name": "I-15 UT/ID State Line UT",
		"Url": "https://511.idaho.gov/map/Cctv/10.C1--2",
		"Status": "Enabled",
		"Description": "N/A",
		"AirTemperature": null,
		"SurfaceTemperature": null,
		"WindSpeed": null,
		"WindDirection": null,
		"RelativeHumidity": null,
		"WeatherUpdated": null
	},
	{
		"Id": "100.C1--2",
		"Organization": "ITD",
		"RoadwayName": "SH-75",
		"DirectionOfTravel": "Unknown",
		"Latitude": 43.5946,
		"Longitude": -114.345,
		"Name": "SH-75 Wood River",
		"Url": "https://511.idaho.gov/map/Cctv/100.C1--2",
		"Status": "Enabled",
		"Description": "N/A",
		"AirTemperature": 19.0,
		"SurfaceTemperature": 36.0,
		"WindSpeed": 0.0,
		"WindDirection": "N",
		"RelativeHumidity": 59.0,
		"WeatherUpdated": "Nov 11 2022, 12:00 PM"
	}
]

XML

Sample:
<CamerasList>
    <Cameras>
        <Id>10.C1--2</Id>
        <Organization>ITD</Organization>
        <RoadwayName>I-15</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Latitude>42.0011</Latitude>
        <Longitude>-112.198</Longitude>
        <Name>I-15 UT/ID State Line UT</Name>
        <Url>https://511.idaho.gov/map/Cctv/10.C1--2</Url>
        <Status>Enabled</Status>
        <Description>N/A</Description>
        <AirTemperature/>
        <SurfaceTemperature/>
        <WindSpeed/>
        <WindDirection/>
        <RelativeHumidity/>
        <WeatherUpdated/>
    </Cameras>
    <Cameras>
        <Id>100.C1--2</Id>
        <Organization>ITD</Organization>
        <RoadwayName>SH-75</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Latitude>43.5946</Latitude>
        <Longitude>-114.345</Longitude>
        <Name>SH-75 Wood River</Name>
        <Url>https://511.idaho.gov/map/Cctv/100.C1--2</Url>
        <Status>Enabled</Status>
        <Description>N/A</Description>
        <AirTemperature>17.8</AirTemperature>
        <SurfaceTemperature>34.2</PavementTemperature>
        <WindSpeed>0</WindSpeed>
        <WindDirection>N</WindDirection>
        <RelativeHumidity>60</RelativeHumidity>
        <WeatherUpdated>Nov 11 2022, 11:45 AM</WeatherUpdated>
    </Cameras>
</CamerasList>