Mobilizing Civic Engagement™
Home   >  Developer Resources
Developer Resources

We've developed a REST API (Application Programming Interface) for anyone who would like to use the information we've gathered and use in their own applications.

Our API is comprised of REST calls utilizing POST methods. All POST methods require XML in the either the body or as a url encoded parameter. Data is returned as either XML or JSON. A callback method can also be specified; this will return the data within the callback method (see "Test Forms").

Current CitySourced POST Methods

Base Url: http://api.citysourced.com/cs/rest/
     
CreateThreeOneOne() Test Form Xml Schema
CreateThreeOneOneComment() Test Form Xml Schema
CreateThreeOneOneVote() Test Form Xml Schema
GetReport() Test Form Xml Schema
GetReportsByAuthorId() Test Form Xml Schema
GetReportsByCityState() Test Form Xml Schema
GetReportsByCustomerId() Test Form Xml Schema
GetReportsByLatLng() Test Form Xml Schema
GetReportsByZipCode() Test Form Xml Schema
UpdateThreeOneOne() Test Form Xml Schema

Downloadable Examples

.NET Example (C#, 2.0 Framework) Download
HTML/AJAX Example (JQuery Framework 1.3.1) Download