Vote.ca is a website that matches Canadian addresses or geographical points to their corresponding Canadian political districts. Vote.ca also provides a free API for developers to use.
The Districts API has the same function as the website, with only one method, 'districts', which matches a geographical point to its political districts. Political districts include the Federal district of Canada; the Provincial districts of Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland & Labrador, Ontario, Prince Edward Island, Quï¿½bec, and Saskatchewan; and the Municipal districts of Calgary, AB, Edmonton, AB, Ottawa, ON, and Toronto, ON
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.