TrafficViolators makes available a simple API to let you enter traffic violations. Please feel free to develop your own applications using this API. In case you need additional help, please write to info@trafficviolators.com’
API for submitting Traffic Violations:
URL (SOAP):
http://www.trafficviolators.com/DesktopModules/TrafficViolators/WebServices/enterViolation.asmx
URL (Json):
http://www.trafficviolators.com/DesktopModules/TrafficViolators/WebServices/enterViolation.asmx/js
Input Parameters:
Registration No (string): Registration no. of vehicle. Empty strings are not accepted
User Name (string): Username of the user registered on trafficviolators.com. Anonymous entries are not accepted.
Reserved (string): For future use
Return Value:
True: If the violation is successfully registered.
False: If the violation is NOT successfully registered.
API for getting recently submitted 20 traffic violations:
URL (REST based): http://api.trafficviolators.com/feed.aspx
Return: RSS 2.0 formatted feed
URL (REST based for ATOM feed): http://api.trafficviolators.com/feed.aspx?format=atom
Returns: ATOM 1.0 formatted feed
API for getting TOP 5 Violators:
URL (REST based): http://api.trafficviolators.com/top.aspx?group=<requiredgrouping>
<requiregrouping> can have the following values:
city: To get Top 5 Violators by City
model: To get Top 5 Violator by Vehicle Model
category: To get Top 5 by Vehicle Category
violation: To get Top 5 by Violation Type
license: To get Top Violator by Registration No.
Return: RSS formatted feed
To return ATOM formatted feed, use the following:
http://api.trafficviolators.com/top.aspx?group=<requiredgrouping>&format=atom
On error, can return HTTP status code 500 or 400.
![]()
![]()
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.