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")
Returns a list of oral questions
curl \
  http://oralquestionsandmotions-api.parliament.uk/oralquestions/list
Returns a single Early Day Motion by ID
curl \
  http://oralquestionsandmotions-api.parliament.uk/EarlyDayMotion/{id}
Returns a list of Early Day Motions
curl \
  http://oralquestionsandmotions-api.parliament.uk/EarlyDayMotions/list
SDK on GitHub 📄 API Docs
SDK
the_parliament_crew_ai
Python
API
parliament.uk
parliament.uk:oralquestions

Other SDKs for parliament.uk

ckan-parliament-uk

At a glance

Language Python
Endpoints4
Base URLhttp://oralquestionsandmotions-api.parliament.uk