Skip to content

Instantly share code, notes, and snippets.

@gwire
Created September 5, 2022 14:36
Show Gist options
  • Save gwire/a23187f4653fa9dbe1ad7711420c16e8 to your computer and use it in GitHub Desktop.
Save gwire/a23187f4653fa9dbe1ad7711420c16e8 to your computer and use it in GitHub Desktop.
Generate a list of current MPs and their party
curl "https://lda.data.parliament.uk/commonsmembers.json?_pageSize=800"| jq -r '.result.items[]|"\(.fullName._value),\(.party._value)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment