councillors/allcouncillorsforwardandparty
Retrieves the details for all councillors of a specified political party, in a particular ward / location.
Arguments:
- api_key (required)
- partyID (required)
- wardID (required)
- per_page (optional - default 10)
- page (optional - default 1)
Example request:
http://[domain]/api/councillors/councillorsforwardandparty.xml?
api_key=[api_key]&partyID=2&wardID=1&per_page=1&page=2
Example response:
<councillors page="2" pages="3" per_page="1" total="3">
<councillor id="78">
<name>Harold Lyons</name>
<address>9 Example Avenue, Manchester, M8 5HH</address>
<telephone>0161 000 000</telephone>
<email>cllr.h.lyons@mysite.gov.uk</email>
<party>Labour</party>
<imageURL>http://mysite.co.uk/images/one.jpg</imageURL>
<ward>Higher Blackley</ward>
<position>None</position>
</councillor>
</councillors>