councillors/all
Retrieves the details for all councillors.
Arguments:
- api_key (required)
- per_page (optional - default 10)
- page (optional - default 1)
Example request:
http://[domain]/api/councillors/all.xml?api_key=[api_key]&per_page=2&page=3
Example response:
<?xml version="1.0" encoding="utf-8"?>
<councillors page="3" pages="48" per_page="2" total="96">
<councillor id="261">
<name>Nasrin Ali</name>
<address>Majority Members Services, MANCHESTER, M60 2LA</address>
<telephone>07777 777 777</telephone>
<email>email1@mysite.gov.uk</email>
<party>Labour</party>
<imageURL>http://mysite.co.uk/2012-190x190.jpg</imageURL>
<ward>Levenshulme</ward>
<position>None</position>
</councillor>
<councillor id="128">
<name>Sameem Ali</name>
<address>Majority Members Services, MANCHESTER, M60 2LA</address>
<telephone>07777 777 777</telephone>
<email>email2@mysite.gov.uk</email>
<party>Labour</party>
<imageURL>http://mysite.co.uk/images/one.jpg</imageURL>
<ward>Moss Side</ward>
<position>None</position>
</councillor>
</councillors>