getMLA function
TheyWorkForYou API
http://www.theyworkforyou.com/api/getMLA
Fetch a particular MLA.
Arguments
- postcode (optional)
- Fetch the MLAs for a particular postcode.
- constituency (optional)
- The name of a constituency.
- id (optional)
- If you know the person ID for the member you want (returned from getMLAs or elsewhere), this will return data for that person.
Example Response
<twfy> </twfy>
Explorer
Try out this function without writing any code!
