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 Bills.
curl \
  https://bills-api.parliament.uk/api/v1/Bills
Returns a list of Bill stages.
curl \
  https://bills-api.parliament.uk/api/v1/Stages
Returns a list of Sittings.
curl \
  https://bills-api.parliament.uk/api/v1/Sittings
SDK on GitHub 📄 API Docs
SDK
the_parliament_crew_ai
Python
API
parliament.uk
parliament.uk:bills
Other SDKs for parliament.uk
ckan-parliament-uk
At a glance
Language Python
Endpoints19
Base URLhttps://bills-api.parliament.uk