Cicero is a web service API that geocodes addresses and matches them to legislative districts and elected official contact information. Cicero easily integrates into an organization's existing web application or data management software. Available legislative districts include local council districts in more than 100 cities, and state and national districts in the United States, Canada, United Kingdom, New Zealand, Mexico, and Australia. In addition to geocoding addresses and matching them to the correct legislative districts, Cicero also returns maps of each district, and detailed information about each elected official including office addresses, emails, and social media identifiers. Cicero also provides non-legislative district matching for census data, counties, school districts, watersheds and police districts.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The Cicero Java Sample Code by Aviv Keshet demonstrates how to communicate with the API, providing setup with indications to install. As a service, Cicero can access address-based legislative matching features.