Using ckan-parliament-uk with parliament.uk

Python integration

Install
pip install ckan-parliament-uk
Quick start
import ckan-parliament-uk

client = ckan_parliament_uk.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
ckan-parliament-uk
Python
API
parliament.uk
parliament.uk:members
Other SDKs for parliament.uk
the_parliament_crew_ai
At a glance
Language Python
Endpoints43