KildareStreet API

getMSPs function

http://www.kildarestreet.com/api/getMSPs

Fetch a list of MSPs.

Arguments

date (optional)
Fetch the list of MSPs as it was on this date.
party (optional)
Fetch the list of MSPs from the given party.
search (optional)
Fetch the list of MSPs that match this search string in their name.

Example Response

a:646:{
	i:0; a:5:{
		s:9:"member_id"; s:4:"1368";
		s:9:"person_id"; s:5:"10900";
		s:4:"name"; s:13:"Hywel Francis";
		s:5:"party"; s:6:"Labour";
		s:12:"constituency"; s:8:"Aberavon";
	}
	i:1; ...

Explorer

Try out this function without writing any code!

date:
party:
search:
Output: