getDivisions function

 

http://www.openaustralia.org/api/getDivisions

Fetch a list of electoral divisions.

Arguments

Note only one argument can be given at present.

postcode (optional)
Fetch the list of electoral divisions that are within the given postcode (there can be more than one)
date (optional)
Fetch the list of electoral divisions as it was on this date.
search (optional)
Fetch the list of electoral divisions that match this search string.

Example Response

[
	{ name : "Warringah" },
	{ name : "Lyons" },
	{ name : "Fairfax" },
	...
]

Explorer

Try out this function without writing any code!

postcode:
date:
search:
Output: