This is a common read-only API to the MyBikelane and UncivilServants database. All methods are web addressable and configurable using simple query string arguments. All data collected by either site is exposed and it is our hope that the development community takes this and uses it.
Optional arguments are passed to the methods via query string in some cases. Where an argument references a key to a numeric ID, you can retrieve a list of those records via related methods.
All methods return an HTTP response code. In event of an error, generally a text response with more information will also be returned.
Output of data is user specified and can be one of JSON (default if none specified) of XML. Additional formats may be added in the future if enough need to warrant.
http://www.mybikelane.com/api/sitesformat -- output in one of json | xmlhttp://www.mybikelane.com/api/citiesformat -- output in one of json | xmlhttp://www.mybikelane.com/api/tagscity_id -- integer id of the city to limit results tolimit -- limit to this number of resultsformat -- output in one of json | xmlhttp://www.mybikelane.com/api/agenciesformat -- output in one of json | xmlhttp://www.mybikelane.com/api/permitsformat -- output in one of json | xmlhttp://www.mybikelane.com/api/signsformat -- output in one of json | xmlhttp://www.mybikelane.com/api/violationsformat -- output in one of json | xmlhttp://www.mybikelane.com/api/postssite_id -- integer id of the site to limit results tocity_id -- integer id of the city to limit results toplate_id -- integer id of the license plate record to limit results toplate -- string value of license plate record to limit results to; requires plate_state in additionplate_state -- string value of license plate state record to limit results to; requires plate in additionmember_id -- integer id of the uploading member_id to limit results toviolation_id -- integer id of the violation type to limit results toagency_id -- integer id of the agency id to limit results topermit_id -- integer id of the permit type id to limit results tosign_id -- integer id of the sign id to limit results totag -- string value of tag to limit results tosdate -- start date to limit results toedate -- end date to limit results tolimit -- limit to this number of resultsformat -- output in one of json | xml© 2006 – 2008 MyBikeLane