getRepresentative function
http://www.openaustralia.org/api/getRepresentative
Fetch a particular member of the House of Representatives.
Arguments
- id (optional)
- If you know the person ID for the member you want (returned from getRepresentatives or elsewhere), this will return data for that person.
- division (optional)
- The name of an electoral division; we will try and work it out from whatever you give us. :)
- always_return (optional)
- For the division option, sets whether to always try and return a Representative, even if the seat is currently vacant.
Example Response
<result> </result>
Explorer
Try out this function without writing any code!