Description:Gets a list of the candidates in an election based on parameters year and office_idArguments:
EXAMPLEhttp://ca.api.opencampaigns.com/api/get_election?year=2006&office_id=14http://sf.api.opencampaigns.com/api/get_election?office_id=16 *************** opencampaigns developers **************** the first one above is showing a san francisco election, maybe we need to be checking the subdomain. Also, this function seems to be like get_candidates but with more data. Can we remove get_candidates? Does our client use? |