GET Events
Returns all traffic events.
Request Information
https://511ga.org/api/v2/get/event
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 event. |
string |
RoadwayName |
The roadway on which the event occurred. |
string |
DirectionOfTravel |
One of the following directions of travel: None, All Directions, Northbound, Eastbound, Southbound, Westbound, Inbound, Outbound, Both Directions. |
string |
Description |
A summary of the event details which often includes type of event, dates and lanes affected. |
string |
Reported |
The date the event was reported in Unix time. More information |
integer |
LastUpdated |
The date the event's details were last updated in Unix time. More information |
integer |
StartDate |
The start date of the event in Unix time. More information |
integer |
PlannedEndDate |
The date the event is expected to end in Unix time. More information |
integer |
LanesAffected |
Describes the lane or number of lanes affected by the event. For example: all lanes. |
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 |
LatitudeSecondary |
Secondary latitude. |
double |
LongitudeSecondary |
Secondary Longitude. |
double |
EventType |
The type of event. One of the following: roadwork, closures, accidentsAndIncidents or specialEvents. |
string |
IsFullClosure |
True if all lanes are blocked for this event. |
string |
Recurrence |
Describes the schedule of the event. |
string |
Subtype |
The subtype for the event |
string |
Response Formats
JSON
[ { "ID": "GA-Events--1991810", "Organization": "GA-Events", "RoadwayName": "SR 9", "DirectionOfTravel": "Southbound", "Description": "Construction on SR 9 at W PEACHTRE ST. 1 lane(s) (of 2) blocked.", "Reported": 1603717200, "LastUpdated": 1623110620, "StartDate": 1603717200, "PlannedEndDate": 1627761600, "LanesAffected": "1 lane(s) (of 2) blocked", "Latitude": 33.78666, "Longitude": -84.387864, "LatitudeSecondary": 33.78662, "LongitudeSecondary": -84.390432, "EventType": "roadwork", "IsFullClosure": false, "Recurrence": "10/26/2020 - 7/31/2021: 9:00 AM to 4:00 PM", "Subtype": "Construction" }, { "ID": "GA-Events--1992708", "Organization": "GA-Events", "RoadwayName": "I-85", "DirectionOfTravel": "Southbound", "Description": "Construction on I-85 at Collinsworth Rd. All lanes closed.", "Reported": 1603533600, "LastUpdated": 1625086665, "StartDate": 1603533600, "PlannedEndDate": 1638320400, "LanesAffected": "All lanes closed", "Latitude": 33.508698, "Longitude": -84.633528, "LatitudeSecondary": 32.870952, "LongitudeSecondary": -85.161048, "EventType": "closures", "IsFullClosure": true, "Recurrence": null, "Subtype": "Construction" } ]
XML
<EventList> <Event> <ID>GA-Events--1991810</ID> <Organization>GA-Events</Organization> <RoadwayName>SR 9</RoadwayName> <DirectionOfTravel>Southbound</DirectionOfTravel> <Description>Construction on SR 9 at W PEACHTRE ST. 1 lane(s) (of 2) blocked.</Description> <Reported>1603717200</Reported> <LastUpdated>1623110620</LastUpdated> <StartDate>1603717200</StartDate> <PlannedEndDate>1627761600</PlannedEndDate> <LanesAffected>1 lane(s) (of 2) blocked</LanesAffected> <Latitude>33.78666</Latitude> <Longitude>-84.387864</Longitude> <LatitudeSecondary>33.78662</LatitudeSecondary> <LongitudeSecondary>-84.390432</LongitudeSecondary> <EventType>roadwork</EventType> <IsFullClosure>false</IsFullClosure> <Recurrence>10/26/2020 - 7/31/2021: 9:00 AM to 4:00 PM</Recurrence> <Subtype>Construction</Subtype> </Event> <Event> <ID>GA-Events--1992708</ID> <Organization>GA-Events</Organization> <RoadwayName>I-85</RoadwayName> <DirectionOfTravel>Southbound</DirectionOfTravel> <Description>Construction on I-85 at Collinsworth Rd. All lanes closed.</Description> <Reported>1603533600</Reported> <LastUpdated>1625086665</LastUpdated> <StartDate>1603533600</StartDate> <PlannedEndDate>1638320400</PlannedEndDate> <LanesAffected>All lanes closed</LanesAffected> <Latitude>33.508698</Latitude> <Longitude>-84.633528</Longitude> <LatitudeSecondary>32.870952</LatitudeSecondary> <LongitudeSecondary>-85.161048</LongitudeSecondary> <EventType>closures</EventType> <IsFullClosure>true</IsFullClosure> <Recurrence/> <Subtype>Construction</Subtype> </Event> </EventList>