TheyWorkForYou API
getCommittee function

https://www.theyworkforyou.com/api/getCommittee

Fetch the members of a Select Committee.

We have no information since the 2010 general election, and information before may be inaccurate.

Arguments

name (optional)
Fetch the members of the committee that match this name - if more than one committee matches, return their names. If left blank, return all committee names for the date provided (or current date) in the database.
date (optional)
Return the members of the committee as they were on this date.

Example responses

{ "committees" : [
    { "name" : "Scottish Affairs Committee" },
    { "name" : "Northern Ireland Affairs Committee" },
    { "name" : "Home Affairs Committee" },
    { "name" : "Constitutional Affairs Committee" },
    { "name" : "Environment, Food and Rural Affairs Committee" },
    { "name" : "Foreign Affairs Committee" },
    { "name" : "Welsh Affairs Committee" }
] }
{
    "committee" : "Health Committee",
    "members" : [
    { "person_id" : "10009", "name" : "David Amess" },
    { "person_id" : "10018", "name" : "Charlotte Atkins" },
    { "person_id" : "10176", "name" : "Jim Dowd" },
    { "person_id" : "11603", "name" : "Anne Milton" },
    { "person_id" : "10455", "name" : "Doug Naysmith" },
    { "person_id" : "11626", "name" : "Michael Penning" },
    { "person_id" : "10571", "name" : "Howard Stoate" },
    { "person_id" : "11275", "name" : "Richard Taylor" },
    { "person_id" : "10027", "name" : "Kevin Barron", "position" : "Chairman" },
    { "person_id" : "10089", "name" : "Ronnie Campbell" },
    { "person_id" : "10677", "name" : "Sandra Gidley" }
  ]
}

Explorer

Try out this function without writing any code!

name:
date:
Output: