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 the most recent message by annunciator after date time specified
curl \
  /api/Message/message/{annunciator}/{date}
Return the current message by annunciator type
curl \
  /api/Message/message/{annunciator}/current
SDK on GitHub 📄 API Docs
SDK
ckan-parliament-uk
Python
API
parliament.uk
parliament.uk:now
Other SDKs for parliament.uk
the_parliament_crew_ai
At a glance
Language Python
Endpoints2