MCDP Public API =============================================================================== License =============================================================================== This site and all of its content are protected by copyright pursuant to U.S. and international copyright laws. You may not copy, download, publish, modify, transmit, reproduce, create new works from, distribute, sell, loan, nor in anyway exploit any of the material contained on this site in whole or in part without the express authorization of the Montgomery County Democratic Party. THE MONTGOMERY COUNTY DEMOCRATIC PARTY MAKES NO REPRESENTATIONS ABOUT THE RELIABILITY, ACCURACY, SUITABILITY, OR LACK OF VIRUSES FOR THE INFORMATION, SOFTWARE, PRODUCTS, SERVICES AND RELATED GRAPHICS CONTAINED IN THE SITE. ALL INFORMATION, SOFTWARE, PRODUCTS, SERVICES AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THE MONTGOMERY COUNTY DEMOCRATIC PARTY SHALL NOT BE LIABLE FOR ANY DIRECT, SPECIAL, INDIRECT, INCIDENTAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING WITHOUT LIMITATION, LOST REVENUES OR LOST PROFITS, WHICH MAY RESULT FROM THE USE OF, ACCESS TO, OR INABILITY TO USE THESE MATERIALS. Unless otherwise noted, Montgomery County Democratic Party grants users permission to copy, download, reproduce, transmit or distribute any data contained in the Public API provided that: (1) the user includes Montgomery County Democratic Party's copyright notice on all copies, (2) the materials are not used in any misleading or inappropriate manner, and (3) the materials are not used for evil. Available Datasets =============================================================================== Find Precinct - Searches the Montgomery County Board of Elections for the precinct corresponding to the specified address. URL: http://www.montgomerydems.org/api/find_precinct.php Parameters: StreetNumber - The street address number for which to search. Required. StreetDirection - The direction of the street for which to search. StreetName - The name of the street for which to search in full or in part. Required. Response: HTML, precinct followed by voting location. Get Cities - Returns a list of all of the cities and municipalities as related to the Central Committee. URL: http://www.montgomerydems.org/api/central_committee.php?cmd=get_cities Parameters: None Response: JSON, list of cities. Get Precincts - Returns a list of the matching precincts that have elected a Precinct Captain. URL: http://www.montgomerydems.org/api/central_committee.php?cmd=get_precincts Parameters: city - The city or municipality to search, ex: DAYTON Response: JSON, list of precincts. Get Precinct Captain - Returns a list of the matching Precinct Captains. URL: http://www.montgomerydems.org/api/central_committee.php?cmd=get_precinct_captain Parameters: precinct - The precinct to which to limit the search, ex: 1-B Not specify this will return all Precinct Captain data. Response: JSON, list of Precinct Captain data.