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 treaties.
curl \
  /api/Treaty
Returns a treaty by ID.
curl \
  /api/Treaty/{id}
Returns all series memberships.
curl \
  /api/SeriesMembership
SDK on GitHub 📄 API Docs
SDK
the_parliament_crew_ai
Python
API
parliament.uk
parliament.uk:treaties
Other SDKs for parliament.uk
ckan-parliament-uk
At a glance
Language Python
Endpoints6