Using the_parliament_crew_ai with parliament.uk

Python integration

Install
pip install the_parliament_crew_ai
Quick start
import the_parliament_crew_ai

client = the_parliament_crew_ai.Client("YOUR_API_KEY")
Return member by ID
curl \
  /api/Members/{id}
Returns a list of current members of the Commons or Lords
curl \
  /api/Members/Search
Return members by ID with list of their historical names, parties and members…
curl \
  /api/Members/History
SDK on GitHub 📄 API Docs
SDK
the_parliament_crew_ai
Python
API
parliament.uk
parliament.uk:members
Other SDKs for parliament.uk
ckan-parliament-uk
At a glance
Language Python
Endpoints43