Traffic Violators API  

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/TrafficViolatorsV2/WebServices/enterViolation.asmx

URL (Json):

http://www.trafficviolators.com/DesktopModules/TrafficViolatorsV2/WebServices/enterViolation.asmx/js

Input Parameters:

APIRegistration 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.

  


 

Trafficviolators is integrated with twitter.com.

To follow the latest violations reported, please follow: trafficviolator

You can also send in trafficviolations via twitter. 

  1. Start by following trafficviolator.
  2. Send a reply to trafficviolator in the following format: @trafficviolator <violating vehicle registration no> <username at trafficviolators.com>
  3. OR Send us a direct message in the following format: d trafficviolator <violating vehicle registration no> <username at trafficviolators.com>

Please note: TrafficViolators  posts recent updates once every 15 minutes. Please be patient, your update may not be visible for up to 15 minutes.

 Print   
     
 Print